/* Profile Page Overhaul Custom Stylesheet */

:root {
    --color-gold: #C5A059;
    --color-gold-dark: #A9843F;
    --color-gold-light: rgba(197, 160, 89, 0.15);
    --color-admin-blue: #3A86C8;
    --color-admin-blue-light: rgba(58, 134, 200, 0.15);
    --color-super-gold: #D4AF37;
    --color-super-gold-light: rgba(212, 175, 55, 0.15);
    --color-text-dark: #333735;
    --color-text-muted: #606662;
    --border-radius-premium: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 15px 35px rgba(197, 160, 89, 0.12), 0 3px 10px rgba(0, 0, 0, 0.04);
}

/* Base sections adjustment */
.about.content-section {
    padding-top: 120px;
    padding-bottom: 50px;
    background-color: #FCFAF6;
}

.team.content-section {
    background-color: #FFF;
    padding-top: 60px;
    padding-bottom: 90px;
}

/* Glassmorphic Container Card */
.card-glass {
    background: #FFF;
    border: 1px solid #EAE2D5;
    border-radius: var(--border-radius-premium);
    box-shadow: var(--shadow-premium);
    padding: 30px;
    height: 100%;
    transition: var(--transition-smooth);
}

.card-glass:hover {
    box-shadow: var(--shadow-hover);
    border-color: #DCD3C3;
}

/* Avatar Styles */
.avatar-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #E3CDA4 100%);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.profile-avatar-img, 
.admin-avatar-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFF;
    display: block;
}

.profile-avatar-placeholder, 
.admin-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #FFF;
    background: linear-gradient(135deg, var(--color-gold) 0%, #D8B573 100%);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.1);
}

/* Badges for roles */
.profile-badge, 
.admin-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-super-admin {
    background-color: var(--color-super-gold-light);
    color: #B28B15;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-admin, 
.admin-badge {
    background-color: var(--color-admin-blue-light);
    color: #24659B;
    border: 1px solid rgba(58, 134, 200, 0.3);
}

.badge-user {
    background-color: #F0EDE6;
    color: var(--color-text-muted);
    border: 1px solid #DDD9D0;
}

.profile-name {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 24px;
}

/* Stats list */
.stat-row {
    font-size: 14px;
}

.text-accent {
    color: var(--color-gold-dark) !important;
}

/* Action button for admin */
.btn-admin-dash {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #FFF !important;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.btn-admin-dash:hover {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, #8C692D 100%);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
    transform: translateY(-2px);
}

/* Dashboard Quick Access shortcuts */
.quick-actions-header h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--color-text-dark);
    font-weight: 700;
}

.quick-link-box {
    display: flex;
    align-items: center;
    background: #FFF;
    border: 1px solid #EAE2D5;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none !important;
    color: inherit !important;
    transition: var(--transition-smooth);
    height: 100%;
}

.quick-link-box:hover {
    border-color: var(--color-gold);
    background-color: #FDFCF7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.08);
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFF;
    margin-right: 15px;
    flex-shrink: 0;
}

.bg-map { background: linear-gradient(135deg, #3A86C8 0%, #529EE0 100%); }
.bg-ascetics { background: linear-gradient(135deg, #DE7E2B 0%, #EC9548 100%); }
.bg-temples { background: linear-gradient(135deg, #2D9455 0%, #43B46F 100%); }
.bg-chaturmas { background: linear-gradient(135deg, #8A4BC2 0%, #A267D9 100%); }

.quick-link-text h5 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-dark);
    font-family: 'Outfit', 'Inter', sans-serif;
}

.quick-link-text p {
    margin: 0;
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Administrator Team Card list */
.admin-card {
    transition: var(--transition-smooth);
    padding: 25px;
}

.admin-card:hover {
    transform: translateY(-5px);
}

.admin-name {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 18px;
}

.admin-stats {
    font-size: 13px;
}

/* Title text */
h1#username {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 32px;
    margin-bottom: 25px;
}

#team h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 28px;
    margin-bottom: 8px;
}

/* Table overrides */
.table-premium {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium th {
    background-color: #F8F5EE;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 15px;
    border-bottom: 2px solid #EAE2D5;
}

.table-premium td {
    padding: 14px 15px;
    border-bottom: 1px solid #F0EDE6;
    font-size: 13.5px;
    color: var(--color-text-dark);
}

.table-premium tbody tr:hover td {
    background-color: #FDFCF9;
}

.table-premium tbody tr:last-child td {
    border-bottom: none;
}

.table-premium a {
    color: var(--color-gold-dark);
    text-decoration: none;
    font-weight: 700;
}

.table-premium a:hover {
    text-decoration: underline;
}

/* Custom status badges for contributions history */
.bg-success-light {
    background-color: rgba(45, 148, 85, 0.12) !important;
    color: #2D9455 !important;
    border: 1px solid rgba(45, 148, 85, 0.25);
}
.bg-danger-light {
    background-color: rgba(217, 83, 79, 0.12) !important;
    color: #D9534F !important;
    border: 1px solid rgba(217, 83, 79, 0.25);
}
.bg-warning-light {
    background-color: rgba(240, 173, 78, 0.12) !important;
    color: #DE7E2B !important;
    border: 1px solid rgba(240, 173, 78, 0.25);
}
.badge-trusted {
    background-color: rgba(222, 126, 43, 0.15);
    color: #DE7E2B;
    border: 1px solid rgba(222, 126, 43, 0.3);
}

