/* ===========================
   LOGIN FORM STYLES
=========================== */
.birth360-auth-wrapper {
    max-width: 420px;
    margin: 40px auto;
    padding: 40px 35px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(122, 79, 158, 0.12);
    font-family: 'Lato', sans-serif;
    text-align: center;
}
.birth360-auth-wrapper h3 {
    font-family: 'Playfair Display', serif;
    color: #5a3e6b;
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.birth360-auth-wrapper p {
    font-size: 0.95em;
    color: #7c6a7c;
    margin-bottom: 24px;
}
.birth360-auth-wrapper input[type="email"],
.birth360-auth-wrapper input[type="text"] {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 14px;
    border: 1.5px solid #e8d0f5;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.birth360-auth-wrapper input:focus {
    border-color: #7b4f9e;
    outline: none;
}
.birth360-auth-wrapper button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #7b4f9e, #c2698f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
}
.birth360-auth-wrapper button:hover { opacity: 0.92; transform: translateY(-1px); }
.birth360-auth-wrapper button:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.b360-error { color: #d9534f; font-size: 0.85em; margin-top: 8px; min-height: 18px; }
.b360-sent-msg {
    background: #f5eeff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9em;
    margin-bottom: 16px;
}
#b360-show-email { font-weight: bold; color: #7b4f9e; }
#b360-back-btn {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85em;
    color: #9c7c8a;
    text-decoration: none;
}
#b360-back-btn:hover { text-decoration: underline; }
.birth360-msg {
    padding: 20px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    text-align: center;
}

/* ===========================
   PROFILE PAGE STYLES
=========================== */
.birth360-profile-wrapper {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px 40px;
    font-family: 'Lato', sans-serif;
}
.b360-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #7b4f9e, #c2698f);
    color: #fff;
    padding: 28px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.b360-avatar-circle {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
    text-transform: uppercase;
}
.b360-profile-header h3 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    color: #fff !important;
}
.b360-profile-email-text {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.85;
    color: #fff !important;
}
.b360-profile-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(122, 79, 158, 0.1);
}
.b360-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.b360-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a3e6b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.b360-form-group input,
.b360-form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid #e8d0f5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #3a2a3a;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.b360-form-group input:focus,
.b360-form-group textarea:focus {
    border-color: #7b4f9e;
    outline: none;
}
.b360-form-group input:disabled {
    background: #f5f0f5;
    color: #999;
    cursor: not-allowed;
}
.b360-form-group small {
    color: #aaa;
    font-size: 0.78rem;
    margin-top: 4px;
}
.b360-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .b360-form-row { grid-template-columns: 1fr; }
}
.b360-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}
#b360-save-profile-btn {
    padding: 13px 32px;
    background: linear-gradient(135deg, #7b4f9e, #c2698f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
#b360-save-profile-btn:hover { opacity: 0.9; transform: translateY(-1px); }
#b360-save-profile-btn:disabled { background: #ccc; cursor: not-allowed; }
.b360-logout-link {
    font-size: 0.9rem;
    color: #9c7c8a;
    text-decoration: none;
    border-bottom: 1px dashed #c2698f;
}
.b360-logout-link:hover { color: #c2698f; }
.b360-profile-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}
.b360-profile-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}
.b360-profile-msg.error {
    background: #fdecea;
    color: #c62828;
    display: block;
}
