/* --- Add Bio Wizard Styles (Updated) --- */
:root {
    --pg-primary-color: #ff3366;
    --pg-light-gray: #f8f9fa;
    --pg-dark-text: #2c3e50;
    --pg-border-color: #e2e8f0;
    --pg-success-color: #2ecc71;
}

body { background-color: #f0f2f5; }

.pg-add-bio-wrapper {
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* 1. Wider Layout */
.pg-wizard-card {
    background: #fff;
    width: 100%;
    max-width: 1100px; /* Increased width */
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    box-sizing: border-box;
}

.pg-wizard-header { text-align: center; margin-bottom: 30px; }
.pg-wizard-title { font-size: 2rem; font-weight: 800; color: var(--pg-dark-text); margin: 0; }
.pg-wizard-subtitle { color: #7f8c8d; margin-top: 5px; }

/* Progress Bar */
.pg-progress-container { margin-bottom: 40px; }
.pg-progress-track { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.pg-progress-fill { height: 100%; background: var(--pg-primary-color); transition: width 0.4s ease; }
.pg-steps-indicator { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: #999; }
.step-dot.active { color: var(--pg-primary-color); font-weight: 700; }

/* Form Grid (Desktop: 2 cols, Mobile: 1 col) */
.form-step { display: none; animation: fadeIn 0.4s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #34495e; }

/* Inputs Styling */
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--pg-border-color);
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border 0.3s;
}
.form-group input:focus { border-color: var(--pg-primary-color); outline: none; }

/* 2. Professional File Upload */
.file-upload-wrapper {
    border: 2px dashed var(--pg-border-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.file-upload-wrapper:hover { border-color: var(--pg-primary-color); background: #fff5f7; }
.file-upload-wrapper input[type="file"] {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer;
}
.file-upload-icon { font-size: 40px; color: var(--pg-primary-color); margin-bottom: 10px; }
.file-name-display { display: block; margin-top: 10px; font-weight: 600; color: #333; }

/* 3. Social Media Styling */
.social-input-group { position: relative; }
.social-input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #7f8c8d;
}
.social-input-group input { padding-left: 40px !important; }

/* 4. OTP Verification Styles */
.otp-section {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #b6e0fe;
    margin-top: 20px;
}
.verify-btn {
    background: #3498db; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; margin-top: 10px;
}
.verify-btn:disabled { background: #ccc; }
.otp-status { margin-left: 10px; font-weight: bold; }
.otp-status.success { color: green; }
.otp-status.error { color: red; }

/* Buttons */
.form-actions { display: flex; justify-content: space-between; margin-top: 30px; }
.btn-prev { background: #ecf0f1; color: #333; border: none; padding: 12px 25px; border-radius: 6px; cursor: pointer; }
.btn-next, .btn-submit { background: var(--pg-primary-color); color: white; border: none; padding: 12px 30px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-submit:disabled { background: #ccc; cursor: not-allowed; }

/* 5. Success Modal (Full Screen) */
.pg-success-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.pg-success-content {
    background: white;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-icon { font-size: 60px; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .form-grid-2 { grid-template-columns: 1fr; }
    .pg-wizard-card { padding: 20px; }
}