/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Language Switcher */
.language-switcher {
    background-color: #f8f9fa;
    padding: 15px 40px;
    text-align: right;
    border-bottom: 1px solid #e9ecef;
}

.lang-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: #A50034;
    background-color: #f0f0f0;
}

.lang-link.active {
    color: #A50034;
    background-color: #fff3f7;
    font-weight: 600;
}

.lang-separator {
    color: #ccc;
    margin: 0 10px;
}

/* Header Styles */
.header {
    background-color: white;
    padding: 20px 40px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 44px;
    width: auto;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Main Content */
.main-content {
    padding: 40px;
}

.intro-section {
    text-align: center;
    margin-bottom: 40px;
}

.intro-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #A50034;
    margin-bottom: 10px;
}

.intro-section p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Container */
.form-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-title {
    background: linear-gradient(135deg, #A50034, #d63384);
    color: white;
    padding: 20px 30px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warranty-form {
    padding: 30px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #A50034;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #A50034;
    box-shadow: 0 0 0 3px rgba(165, 0, 52, 0.1);
}

.form-input:valid {
    border-color: #28a745;
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
    opacity: 0.8;
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 12px 16px;
    border: 2px dashed #A50034;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.file-upload-label:hover {
    background-color: #f0f0f0;
    border-color: #8b0029;
}

.file-upload-text {
    display: block;
    font-weight: 600;
    color: #A50034;
    margin-bottom: 4px;
}

.file-upload-hint {
    display: block;
    font-size: 12px;
    color: #666;
}

/* Terms and Checkbox */
.terms-container {
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #A50034;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #A50034;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.terms-link {
    color: #A50034;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #A50034, #d63384);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #8b0029, #b02a5b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(165, 0, 52, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.success-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.modal-btn {
    padding: 12px 30px;
    background-color: #A50034;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-btn:hover {
    background-color: #8b0029;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .warranty-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .intro-section h2 {
        font-size: 24px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .warranty-form {
        padding: 15px;
    }
    
    .form-title {
        padding: 15px 20px;
        font-size: 18px;
    }
}

