/**
 * Stiluri pentru frontend
 */

/* Stilizare pentru grupurile de descărcare */
.download-group {
    max-width: 400px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #d9534f;
}

.download-group h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.download-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Stilizare selectoare */
.downloadSelect, .manualSelect {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f8f8f8;
    margin-bottom: 20px;
    position: relative;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23888' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 20px;
}

.downloadSelect:focus, .manualSelect:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.downloadSelect:hover, .manualSelect:hover {
    border-color: #888;
}

/* Stilizare butoane */
.downloadButton, .manualButton {
    display: block;
    width: 100%;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Stiluri pentru butoanele de software */
.downloadButton {
    background-color: #d9534f;
}

.downloadButton:hover {
    background-color: #c9302c;
}

.downloadButton:active {
    background-color: #ac2925;
}

/* Stiluri pentru butoanele de driver */
.custom-download-group:nth-of-type(2n) {
    border-left-color: #5cb85c;
}

.custom-download-group:nth-of-type(2n) .downloadButton {
    background-color: #5cb85c;
}

.custom-download-group:nth-of-type(2n) .downloadButton:hover {
    background-color: #4cae4c;
}

/* Stiluri pentru butoanele de manuale */
.manuals-download-group {
    border-left-color: #f0ad4e;
}

.manualButton {
    background-color: #f0ad4e;
}

.manualButton:hover {
    background-color: #ec971f;
}

/* Stiluri pentru tab-uri suplimentare */
.custom-download-group:nth-of-type(3n) {
    border-left-color: #5bc0de;
}

.custom-download-group:nth-of-type(3n) .downloadButton {
    background-color: #5bc0de;
}

.custom-download-group:nth-of-type(3n) .downloadButton:hover {
    background-color: #46b8da;
}

/* Responsive */
@media (max-width: 480px) {
    .download-group {
        padding: 10px;
    }
    
    .downloadSelect, .manualSelect, .downloadButton, .manualButton {
        font-size: 14px;
        padding: 10px;
    }
}