/**
 * Admin Frontend CSS - GMS Client Portal
 */

.gms-panel {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    color: #1d2327;
    font-family: 'Barlow', sans-serif;
}

.gms-panel-sidebar {
    width: 260px;
    background: #080808;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
}

.gms-panel-brand {
    padding: 1.5rem;
    border-bottom: 1px solid #222;
}

.gms-panel-brand span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: #f5f2ee;
}

.gms-panel-brand span em {
    color: #cc0000;
    font-style: normal;
}

.gms-panel-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #222;
}

.gms-panel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.gms-panel-user-info strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f5f2ee;
}

.gms-panel-nav {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.gms-panel-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaaaaa;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gms-panel-nav-item:hover {
    color: #f5f2ee;
    background: rgba(255,255,255,0.04);
}

.gms-panel-nav-item.is-active {
    color: #f5f2ee;
    background: rgba(204,0,0,0.1);
    border-left: 3px solid #cc0000;
}

.gms-panel-nav-badge {
    margin-left: auto;
    background: #cc0000;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
}

.gms-panel-sidebar-footer {
    padding: 1rem 0;
    border-top: 1px solid #222;
}

.gms-panel-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gms-panel-logout:hover { color: #cc0000; }

.gms-panel-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f1f5f9;
}

.gms-panel-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.gms-panel-topbar h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1d2327;
    margin: 0;
}

.gms-panel-topbar h1 a {
    color: #cc0000;
    text-decoration: none;
}

.gms-panel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.gms-stat-card {
    background: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gms-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: #1d2327;
    line-height: 1;
}

.gms-stat-label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gms-stat-card--pending  .gms-stat-num { color: #f59e0b; }
.gms-stat-card--approved .gms-stat-num { color: #22c55e; }
.gms-stat-card--rejected .gms-stat-num { color: #cc0000; }

.gms-panel-content {
    flex: 1;
    padding: 2rem;
}

.gms-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gms-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.gms-content-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gms-content-card-body {
    padding: 1.25rem;
}

.gms-content-card-body strong {
    color: #1d2327;
}

.gms-content-card-actions {
    display: flex;
    gap: 1px;
    background: #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

.gms-btn--approve {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #22c55e;
}

.gms-btn--approve:hover { background: #f0fdf4; }

.gms-btn--reject {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #64748b;
    text-decoration: none;
}

.gms-btn--reject:hover { background: #f8fafc; color: #1d2327; }

.gms-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.25rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 4px;
}

.gms-btn--primary {
    background: #cc0000;
    color: #fff;
}

.gms-btn--primary:hover {
    background: #e60000;
    color: #fff;
}

.gms-btn--secondary {
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #e2e8f0;
}

.gms-btn--secondary:hover {
    background: #e2e8f0;
    color: #1d2327;
}

.gms-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
}

.gms-badge--plan     { background: #ede9fe; color: #6d28d9; }
.gms-badge--pending  { background: #fef9c3; color: #854d0e; }
.gms-badge--approved { background: #dcfce7; color: #166534; }
.gms-badge--rejected { background: #fee2e2; color: #991b1b; }

.gms-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
}

.gms-status--active    { background: #dcfce7; color: #166534; }
.gms-status--pending   { background: #fef9c3; color: #854d0e; }
.gms-status--cancelled { background: #fee2e2; color: #991b1b; }
.gms-status--inactive  { background: #f1f5f9; color: #64748b; }

.gms-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 2rem;
    color: #94a3b8;
    text-align: center;
}

.gms-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.875rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 4px;
}

.gms-toast.is-visible { opacity: 1; transform: translateY(0); }
.gms-toast.is-success { background: #22c55e; color: #fff; }
.gms-toast.is-error   { background: #cc0000; color: #fff; }

@media (max-width: 768px) {
    .gms-panel-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
    .gms-panel-sidebar.is-open { transform: translateX(0); }
    .gms-panel-main { margin-left: 0; }
    .gms-panel-stats { grid-template-columns: repeat(2, 1fr); }
}


.gms-panel-topbar-left h1 {
    margin-left: 2rem;
}

.gms-panel-topbar-left h1 a {
    color: #cc0000;
    text-decoration: none;
}

.gms-content-card-body strong {
    color: #1d2327;
}

.gms-content-card-actions .gms-btn--approve {
    color: #22c55e;
}

.gms-content-card-actions .gms-btn--reject {
    color: #64748b;
    text-decoration: none;
}

.gms-admin-frontend {
    margin-top: -2rem;
}

.gms-admin-frontend .gms-panel-main {
    margin-left: 260px;
}

.gms-admin-frontend .gms-panel-topbar {
    margin-left: 0;
}


.gms-admin-frontend {
    margin-top: 0;
    padding-top: 0;
}

.gms-panel {
    min-height: 100vh;
    width: 100%;
  margin-top: 2rem;
}



    
}