/* CV Form Styles */
.cv-form-section {
    padding: 60px 0;
    background: #F5F5F5;
}

/* CV Form Messages */
.cv-form-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 16px;
    position: relative;
}

.cv-form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cv-form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cv-form-message i {
    font-size: 20px;
}

.cv-form-message-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 5px;
    transition: opacity 0.3s;
}

.cv-form-message-close:hover {
    opacity: 1;
}

.cv-form-header {
    text-align: center;
    margin-bottom: 50px;
}

.cv-form-header h1 {
    font-family: 'Rajdhani', sans-serif;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    font-weight: 700;
    color: #1E3A5F;
    margin-bottom: 15px;
}

.cv-form-header p {
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    color: #666;
}

.cv-form {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F0F0F0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-heading {
    font-family: 'Rajdhani', sans-serif;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    font-weight: 700;
    color: #1E3A5F;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading i {
    color: #FFA726;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: 'Rajdhani', sans-serif;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.required {
    color: #E53935;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5DADE2;
    box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #E0E0E0;
    border-radius: 8px;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-group input[type="file"]:hover {
    border-color: #5DADE2;
}

.form-group small {
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    color: #999;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    color: #2C2C2C;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit,
.btn-reset {
    padding: 15px 40px;
    font-family: 'Rajdhani', sans-serif;
     param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    color: #FFFFFF;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 167, 38, 0.4);
}

.btn-reset {
    background: #E0E0E0;
    color: #2C2C2C;
}

.btn-reset:hover {
    background: #BDBDBD;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .cv-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cv-form-header h1 {
         param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    }

    .section-heading {
         param($m) $m.Groups[1].Value + ([math]::Round([double]$m.Groups[2].Value * 1.2, 1)).ToString() + 'px' ;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
}
