/* ==========================================================================
   JODII Matrimony - Profile Setup Styles
   ========================================================================== */

.profile-setup-section {
    background: #FFF2F6;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(74, 8, 26, 0.1);
    overflow: hidden;
    border: 1px solid rgba(245, 197, 66, 0.3);
}

.profile-header {
    background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%);
    color: #FFFFFF;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #AD1457;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.profile-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.profile-header h2 i {
    color: #F5C542;
}

.profile-header p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.profile-form {
    padding: 40px 50px;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #FCE4EC;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #3A0513;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #E91E63;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #4A081A;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #FAF5F7;
    outline: none;
    transition: all 0.25s ease;
}

.error-msg {
    color: #d32f2f;
    font-size: 11px;
    margin-top: -2px;
    display: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E91E63;
    background: #FFF;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

/* Degree Selector Grid */
.degree-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.degree-btn {
    padding: 12px 20px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    color: #4A5568;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.degree-btn:hover {
    border-color: #E91E63;
    background: #FFF5F8;
    color: #E91E63;
}

.degree-btn.active {
    border-color: #E91E63;
    background: #FCE4EC;
    color: #E91E63;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Custom File Upload Box */
.file-upload-box {
    border: 2px dashed #E91E63;
    border-radius: 8px;
    background: #FFF5F8;
    padding: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-box:hover {
    background: #FCE4EC;
    border-color: #C2185B;
}

.file-upload-box i {
    font-size: 32px;
    color: #E91E63;
    margin-bottom: 12px;
}

.file-upload-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

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

.form-actions {
    margin-top: 40px;
    text-align: right;
}

.btn-save-profile {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(180deg, #E91E63 0%, #C2185B 100%);
    border: none;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(194, 24, 91, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-save-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(194, 24, 91, 0.4);
    background: linear-gradient(180deg, #F06292 0%, #E91E63 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-form {
        padding: 30px 20px;
    }
    
    .form-actions {
        text-align: center;
    }
    
    .btn-save-profile {
        width: 100%;
        justify-content: center;
    }
}
