.mentorship-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    font-family: "Segoe UI", Tahoma, sans-serif;
    overflow: hidden;
    position: relative;
}

h2 {
    color: white;
}

.mentorship-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8b5a2b, #d4af37, #8b5a2b);
}

.mentorship-header {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.mentorship-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
}

.mentorship-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.mentorship-subtitle {
    font-size: 18px;
    color: #d4af37;
    font-weight: 600;
    margin: 8px 0 15px;
    font-style: italic;
}

.mentorship-description {
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e0;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

#mentorship-registration-form {
    padding: 35px;
}

.form-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 14px;
}

.required {
    color: #e53e3e;
}

.form-row input, 
.form-row select {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
    background: #f7fafc;
    color: #2d3748;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #8b5a2b;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
    transform: translateY(-1px);
}

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%23718096'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 45px;
    cursor: pointer;
}

.form-total {
    text-align: center;
    font-size: 22px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 12px;
    border: 3px solid #8b5a2b;
    position: relative;
}

.form-total::before {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 20px;
}

.form-total span {
    color: #8b5a2b;
    font-weight: bold;
    font-size: 24px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5a2b, #d4af37);
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #744a24, #b8941f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .mentorship-form-wrapper {
        margin: 20px;
    }
    
    .mentorship-header {
        padding: 25px 20px;
    }
    
    .mentorship-header h2 {
        font-size: 24px;
    }
    
    .mentorship-subtitle {
        font-size: 16px;
    }
    
    #mentorship-registration-form {
        padding: 25px 20px;
    }
    
    .form-total {
        font-size: 20px;
    }
    
    .form-total span {
        font-size: 22px;
    }
}

.form-row input[type="text"]:valid,
.form-row input[type="email"]:valid,
.form-row input[type="tel"]:valid,
.form-row select:valid {
    border-color: #38a169;
}

.form-row input[type="text"]:valid:focus,
.form-row input[type="email"]:valid:focus,
.form-row input[type="tel"]:valid:focus,
.form-row select:valid:focus {
    border-color: #8b5a2b;
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
}