| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/vhost/book.gyaniguru.org/css/ |
Upload File : |
/* ================================================================
GYANI GURU — Account Dashboard CSS
================================================================ */
/* ---- Account Section ---- */
.account-section {
padding: 50px 0 80px;
background: var(--cream);
min-height: 70vh;
}
/* ---- Sidebar ---- */
.account-sidebar { position: sticky; top: 90px; }
.acc-profile-card {
background: var(--gradient-divine);
border-radius: var(--radius-lg);
padding: 24px;
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 12px;
border: 1px solid rgba(212,175,55,0.2);
box-shadow: 0 8px 30px rgba(26,10,0,0.15);
}
.acc-avatar {
width: 56px;
height: 56px;
background: var(--gradient-saffron);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Inter', sans-serif; font-weight: 800;
font-size: 1.3rem;
color: var(--dark-bg);
font-weight: 700;
flex-shrink: 0;
box-shadow: 0 4px 15px rgba(212,175,55,0.4);
overflow: hidden;
}
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-profile-info { min-width: 0; }
.acc-name {
font-family: 'Inter', sans-serif; font-weight: 700;
color: var(--gold);
font-size: 1rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.acc-email {
color: rgba(255,255,255,0.55);
font-size: 0.75rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.acc-member-badge {
display: inline-flex;
align-items: center;
gap: 4px;
margin-top: 5px;
background: rgba(212,175,55,0.2);
color: var(--gold-light);
font-size: 0.7rem;
padding: 2px 10px;
border-radius: 50px;
font-weight: 600;
}
/* ---- Sidebar Nav ---- */
.acc-nav {
background: white;
border-radius: var(--radius-lg);
padding: 8px;
border: 1px solid rgba(212,175,55,0.15);
box-shadow: 0 4px 20px rgba(44,24,16,0.08);
}
.acc-nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-radius: 10px;
color: var(--text-medium);
text-decoration: none;
font-size: 0.88rem;
font-weight: 500;
transition: all 0.25s;
position: relative;
cursor: pointer;
}
.acc-nav-item:hover {
background: var(--cream);
color: var(--gerua-dark);
padding-left: 20px;
}
.acc-nav-item.active {
background: linear-gradient(135deg, rgba(210,105,30,0.12), rgba(212,175,55,0.1));
color: var(--gerua-dark);
font-weight: 600;
border-left: 3px solid var(--gerua);
}
.acc-nav-item i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.acc-nav-badge {
margin-left: auto;
background: var(--gerua);
color: white;
border-radius: 50px;
font-size: 0.68rem;
font-weight: 700;
padding: 2px 8px;
min-width: 22px;
text-align: center;
}
.acc-nav-divider {
height: 1px;
background: var(--cream-dark);
margin: 6px 8px;
}
.acc-nav-logout {
color: var(--maroon) !important;
}
.acc-nav-logout:hover { background: rgba(128,0,32,0.06) !important; color: var(--maroon) !important; }
/* ---- Tab Content ---- */
.acc-tab-content { display: none; }
.acc-tab-content.active { display: block; }
/* ---- Cards ---- */
.acc-card {
background: white;
border-radius: var(--radius-lg);
padding: 28px;
border: 1px solid rgba(212,175,55,0.15);
box-shadow: 0 4px 20px rgba(44,24,16,0.08);
margin-bottom: 20px;
}
.acc-card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 24px;
gap: 16px;
flex-wrap: wrap;
}
.acc-card-title {
font-family: 'Inter', sans-serif; font-weight: 700;
font-size: 1.3rem;
color: var(--gerua-dark);
margin-bottom: 4px;
}
.acc-card-subtitle { color: var(--text-light); font-size: 0.84rem; margin: 0; }
.acc-edit-btn {
background: transparent;
border: 1.5px solid var(--gold);
color: var(--gold-dark);
padding: 8px 18px;
border-radius: 8px;
font-size: 0.82rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
white-space: nowrap;
gap: 5px;
font-family: 'Poppins', sans-serif;
}
.acc-edit-btn:hover { background: var(--gold); color: var(--dark-bg); }
/* ---- Profile ---- */
.profile-avatar-section {
display: flex;
align-items: center;
gap: 24px;
margin-bottom: 28px;
flex-wrap: wrap;
}
.profile-avatar-wrap { position: relative; display: inline-block; }
.profile-avatar-large {
width: 90px;
height: 90px;
background: var(--gradient-saffron);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Inter', sans-serif; font-weight: 800;
font-size: 2rem;
color: var(--dark-bg);
font-weight: 700;
overflow: hidden;
box-shadow: 0 6px 20px rgba(212,175,55,0.35);
border: 3px solid var(--gold);
}
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-change {
position: absolute;
bottom: 2px;
right: 2px;
width: 26px;
height: 26px;
background: var(--gradient-saffron);
border-radius: 50%;
border: 2px solid white;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.65rem;
color: var(--dark-bg);
cursor: pointer;
transition: transform 0.2s;
}
.profile-avatar-change:hover { transform: scale(1.15); }
.profile-display-name {
font-family: 'Inter', sans-serif; font-weight: 700;
font-size: 1.3rem;
color: var(--text-dark);
margin-bottom: 4px;
}
.profile-display-joined { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.profile-badges-row { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-badge-pill {
display: inline-flex;
align-items: center;
gap: 5px;
background: rgba(212,175,55,0.12);
color: var(--gold-dark);
font-size: 0.72rem;
padding: 3px 12px;
border-radius: 50px;
font-weight: 600;
border: 1px solid rgba(212,175,55,0.3);
}
.profile-badge-pill.verified { background: rgba(39,174,96,0.1); color: #27ae60; border-color: rgba(39,174,96,0.25); }
.profile-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
}
.profile-info-item {
background: var(--cream);
border-radius: 10px;
padding: 14px 18px;
border: 1px solid rgba(212,175,55,0.12);
}
.profile-info-label {
display: flex;
align-items: center;
gap: 7px;
font-size: 0.74rem;
color: var(--text-light);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 5px;
}
.profile-info-label i { color: var(--gerua); }
.profile-info-val { font-size: 0.92rem; color: var(--text-dark); font-weight: 500; }
/* ---- Form Inputs (Account) ---- */
.acc-form-label {
display: block;
font-size: 0.8rem;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 6px;
}
.acc-form-input {
width: 100%;
border: 1.5px solid var(--cream-dark);
border-radius: 8px;
padding: 11px 14px;
font-size: 0.88rem;
color: var(--text-dark);
background: white;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
font-family: 'Poppins', sans-serif;
}
.acc-form-input:focus {
border-color: var(--gerua);
box-shadow: 0 0 0 3px rgba(210,105,30,0.1);
}
.acc-form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A3A20' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.acc-input-with-icon { position: relative; display: flex; align-items: center; }
.acc-eye-btn {
position: absolute;
right: 12px;
background: none;
border: none;
color: var(--text-light);
cursor: pointer;
padding: 4px;
transition: color 0.2s;
}
.acc-eye-btn:hover { color: var(--gerua); }
/* ---- Stats Cards ---- */
.acc-stat-card {
background: white;
border-radius: var(--radius);
padding: 22px;
text-align: center;
border: 1px solid rgba(212,175,55,0.15);
box-shadow: 0 2px 12px rgba(44,24,16,0.06);
transition: transform 0.3s;
}
.acc-stat-card:hover { transform: translateY(-4px); }
.acc-stat-icon {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: white;
margin: 0 auto 12px;
}
.acc-stat-num {
font-family: 'Inter', sans-serif; font-weight: 800;
font-size: 1.8rem;
font-weight: 700;
color: var(--gerua-dark);
line-height: 1;
margin-bottom: 4px;
}
.acc-stat-lbl { font-size: 0.78rem; color: var(--text-light); font-weight: 500; }
/* ---- Filter Chips ---- */
.acc-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-chip {
padding: 6px 16px;
border-radius: 50px;
background: var(--cream);
border: 1.5px solid var(--cream-dark);
color: var(--text-medium);
font-size: 0.78rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
font-family: 'Poppins', sans-serif;
}
.acc-chip:hover, .acc-chip.active {
background: var(--gerua);
color: white;
border-color: var(--gerua);
}
/* ---- Order Cards ---- */
.order-card {
border: 1px solid rgba(212,175,55,0.15);
border-radius: var(--radius);
margin-bottom: 16px;
overflow: hidden;
transition: box-shadow 0.3s, border-color 0.3s;
}
.order-card:hover { box-shadow: 0 8px 30px rgba(210,105,30,0.12); border-color: rgba(212,175,55,0.3); }
.order-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
background: var(--cream);
border-bottom: 1px solid rgba(212,175,55,0.1);
flex-wrap: wrap;
gap: 8px;
}
.order-header-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-id { font-weight: 700; color: var(--text-dark); font-size: 0.88rem; font-family: monospace; }
.order-date { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.order-status-badge {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 12px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 700;
}
.status-delivered { background: rgba(39,174,96,0.1); color: #27ae60; border: 1px solid rgba(39,174,96,0.25); }
.status-processing { background: rgba(243,156,18,0.12); color: #d68910; border: 1px solid rgba(243,156,18,0.3); }
.status-cancelled { background: rgba(231,76,60,0.1); color: #c0392b; border: 1px solid rgba(231,76,60,0.2); }
.order-items { padding: 12px 18px; }
.order-item-row {
display: flex;
align-items: center;
gap: 14px;
padding: 10px 0;
border-bottom: 1px solid var(--cream-dark);
}
.order-item-row:last-child { border-bottom: none; }
.order-item-img {
width: 48px;
height: 52px;
background: var(--cream);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
flex-shrink: 0;
border: 1px solid rgba(212,175,55,0.15);
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-title { font-weight: 600; color: var(--text-dark); font-size: 0.88rem; margin-bottom: 2px; }
.order-item-meta { font-size: 0.75rem; color: var(--text-light); }
.order-item-price { font-weight: 700; color: var(--gerua-dark); font-size: 0.95rem; flex-shrink: 0; }
.order-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 18px;
background: var(--cream);
border-top: 1px solid rgba(212,175,55,0.1);
flex-wrap: wrap;
gap: 10px;
}
.order-total { font-size: 0.88rem; color: var(--text-medium); }
.order-total strong { color: var(--gerua-dark); font-size: 1rem; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-action-btn {
padding: 7px 14px;
border-radius: 8px;
font-size: 0.78rem;
font-weight: 600;
border: 1.5px solid var(--cream-dark);
background: white;
color: var(--text-medium);
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
transition: all 0.2s;
font-family: 'Poppins', sans-serif;
}
.order-action-btn:hover { border-color: var(--gold); color: var(--gerua-dark); }
.order-action-btn.secondary { color: var(--gerua); border-color: rgba(210,105,30,0.25); }
.order-action-btn.danger { color: var(--maroon); border-color: rgba(128,0,32,0.2); }
.order-action-btn.danger:hover { background: var(--maroon); color: white; }
/* ---- Addresses ---- */
.address-card {
background: var(--cream);
border-radius: var(--radius);
padding: 20px;
border: 2px solid rgba(212,175,55,0.15);
height: 100%;
position: relative;
transition: all 0.3s;
}
.address-card:hover { border-color: rgba(212,175,55,0.35); box-shadow: 0 6px 20px rgba(44,24,16,0.08); }
.default-address { border-color: var(--gold); background: linear-gradient(135deg, #FFF8F0, #FFF3E0); }
.address-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.address-type-badge {
display: inline-flex;
align-items: center;
gap: 5px;
background: var(--gerua);
color: white;
padding: 3px 12px;
border-radius: 50px;
font-size: 0.72rem;
font-weight: 700;
}
.address-type-badge.office { background: var(--dark-surface); }
.address-default-badge {
background: var(--gold);
color: var(--dark-bg);
padding: 3px 12px;
border-radius: 50px;
font-size: 0.72rem;
font-weight: 700;
}
.address-name { font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.address-line { font-size: 0.84rem; color: var(--text-medium); line-height: 1.6; }
.address-phone { font-size: 0.82rem; color: var(--text-light); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.address-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.address-btn {
padding: 6px 14px;
border-radius: 8px;
font-size: 0.76rem;
font-weight: 600;
border: 1.5px solid var(--cream-dark);
background: white;
color: var(--text-medium);
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
transition: all 0.2s;
font-family: 'Poppins', sans-serif;
}
.address-btn:hover { border-color: var(--gold); color: var(--gerua-dark); }
.address-btn.danger { color: var(--maroon); }
.address-btn.danger:hover { background: var(--maroon); color: white; border-color: var(--maroon); }
.address-add-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px dashed rgba(212,175,55,0.4);
background: rgba(212,175,55,0.04);
cursor: pointer;
min-height: 160px;
gap: 10px;
color: var(--gold-dark);
transition: all 0.3s;
}
.address-add-card i { font-size: 2rem; }
.address-add-card p { font-weight: 600; font-size: 0.9rem; margin: 0; }
.address-add-card:hover { background: rgba(212,175,55,0.1); border-color: var(--gold); color: var(--gerua-dark); }
/* ---- Settings Toggles ---- */
.settings-toggle-list { display: flex; flex-direction: column; gap: 0; }
.settings-toggle-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 0;
border-bottom: 1px solid var(--cream-dark);
gap: 20px;
}
.settings-toggle-item:last-child { border-bottom: none; }
.settings-toggle-title { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; margin-bottom: 2px; }
.settings-toggle-desc { font-size: 0.78rem; color: var(--text-light); }
/* Toggle Switch */
.acc-toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.acc-toggle input { opacity: 0; width: 0; height: 0; }
.acc-toggle-slider {
position: absolute;
inset: 0;
background: var(--cream-dark);
border-radius: 50px;
cursor: pointer;
transition: all 0.3s;
}
.acc-toggle-slider::before {
content: '';
position: absolute;
width: 20px;
height: 20px;
left: 3px;
top: 3px;
background: white;
border-radius: 50%;
transition: transform 0.3s;
box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.acc-toggle input:checked + .acc-toggle-slider { background: var(--gerua); }
.acc-toggle input:checked + .acc-toggle-slider::before { transform: translateX(20px); }
/* ---- Danger Zone ---- */
.acc-danger-card { border-color: rgba(128,0,32,0.15) !important; }
.acc-danger-btn {
padding: 10px 20px;
border-radius: 8px;
font-weight: 600;
font-size: 0.85rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s;
background: var(--maroon);
color: white;
border: 2px solid var(--maroon);
font-family: 'Poppins', sans-serif;
}
.acc-danger-btn:hover { background: #600018; border-color: #600018; transform: translateY(-2px); }
.acc-danger-btn.outline { background: transparent; color: var(--maroon); }
.acc-danger-btn.outline:hover { background: var(--maroon); color: white; }
/* ---- Account Modal ---- */
.acc-modal-overlay {
position: fixed;
inset: 0;
background: rgba(26,10,0,0.7);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
backdrop-filter: blur(4px);
padding: 20px;
}
.acc-modal-overlay.active { opacity: 1; pointer-events: all; }
.acc-modal {
background: white;
border-radius: 20px;
padding: 30px;
max-width: 560px;
width: 100%;
box-shadow: 0 30px 80px rgba(0,0,0,0.4);
transform: scale(0.92) translateY(20px);
transition: transform 0.3s;
border: 1px solid rgba(212,175,55,0.2);
max-height: 90vh;
overflow-y: auto;
}
.acc-modal-overlay.active .acc-modal { transform: scale(1) translateY(0); }
.acc-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
font-family: 'Inter', sans-serif; font-weight: 700;
font-size: 1.15rem;
color: var(--gerua-dark);
padding-bottom: 14px;
border-bottom: 1px solid var(--cream-dark);
}
.acc-modal-close {
background: none;
border: none;
color: var(--text-light);
cursor: pointer;
font-size: 1rem;
transition: color 0.2s;
}
.acc-modal-close:hover { color: var(--maroon); }
/* ---- Order Tracking Timeline ---- */
.track-order-id {
font-family: monospace;
font-size: 0.9rem;
color: var(--gerua);
font-weight: 700;
margin-bottom: 20px;
padding: 8px 16px;
background: var(--cream);
border-radius: 8px;
display: inline-block;
}
.order-timeline { position: relative; padding-left: 30px; }
.order-timeline::before {
content: '';
position: absolute;
left: 10px;
top: 6px;
bottom: 6px;
width: 2px;
background: var(--cream-dark);
}
.timeline-step {
position: relative;
margin-bottom: 24px;
display: flex;
gap: 16px;
align-items: flex-start;
}
.timeline-dot {
position: absolute;
left: -30px;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--cream-dark);
color: var(--text-light);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.65rem;
flex-shrink: 0;
z-index: 1;
border: 2px solid white;
}
.timeline-step.done .timeline-dot { background: var(--gerua); color: white; }
.timeline-step.active .timeline-dot { background: var(--gold); color: var(--dark-bg); box-shadow: 0 0 0 4px rgba(212,175,55,0.2); }
.timeline-title { font-weight: 600; color: var(--text-dark); font-size: 0.88rem; margin-bottom: 2px; }
.timeline-date { font-size: 0.76rem; color: var(--text-light); }
.timeline-step.done .timeline-title { color: var(--gerua-dark); }
.timeline-step.active .timeline-title { color: var(--gold-dark); }
/* ---- Wishlist Grid ---- */
.wishlist-book-card {
background: white;
border-radius: var(--radius);
padding: 14px;
border: 1px solid rgba(212,175,55,0.15);
text-align: center;
position: relative;
transition: all 0.3s;
}
.wishlist-book-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(210,105,30,0.12); }
.wishlist-book-img {
height: 140px;
background: var(--cream);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
margin-bottom: 10px;
overflow: hidden;
}
.wishlist-book-img img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-book-title { font-weight: 600; color: var(--text-dark); font-size: 0.85rem; margin-bottom: 6px; line-height: 1.3; }
.wishlist-book-price { color: var(--gerua-dark); font-weight: 700; margin-bottom: 10px; }
.wishlist-remove-btn {
position: absolute;
top: 8px;
right: 8px;
width: 26px;
height: 26px;
border-radius: 50%;
background: white;
border: 1px solid rgba(128,0,32,0.2);
color: var(--maroon);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
transition: all 0.2s;
}
.wishlist-remove-btn:hover { background: var(--maroon); color: white; }
/* ---- Empty State ---- */
.acc-empty-state {
text-align: center;
padding: 60px 20px;
color: var(--text-light);
}
.acc-empty-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.acc-empty-state h4 { color: var(--text-medium); margin-bottom: 8px; font-size: 1.1rem; }
.acc-empty-state p { font-size: 0.88rem; margin-bottom: 0; }
/* ---- Active Account Icon in Nav ---- */
.nav-icon-btn.active-account {
background: rgba(212,175,55,0.2);
border-color: var(--gold);
color: var(--gold);
}
/* ---- Marquee ---- */
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-inner span { margin: 0 30px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
/* ---- Responsive ---- */
@media (max-width: 991px) {
.account-sidebar { position: static; margin-bottom: 20px; }
.acc-profile-card { padding: 18px; }
}
@media (max-width: 576px) {
.account-section { padding: 30px 0 50px; }
.acc-card { padding: 18px; }
.order-footer { flex-direction: column; align-items: flex-start; }
.profile-info-grid { grid-template-columns: 1fr; }
.profile-avatar-section { gap: 16px; }
}