/* Dashboard Specific Styles (Simple Version) */

:root {
    --bg-panel: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.08);
    --accent-primary: #6366f1;
}



.dashboard-container {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

/* Header Section */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.dash-header h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.dash-header p {
    color: #94a3b8;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
}

.avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.pill-email {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Grid Layout */
.simple-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Profile Card Wide */
.profile-card-wide {
    grid-column: span 12;
}

@media (min-width: 900px) {
    .profile-card-wide {
        grid-column: span 8;
    }

    .license-card {
        grid-column: span 4;
    }

    .actions-card {
        grid-column: span 12;
        /* Full width bottom bar or split */
    }
}

@media (min-width: 1200px) {
    .actions-card {
        grid-column: span 12;
    }
}

.profile-layout {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.profile-info-main h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.profile-info-main p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.profile-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.badge.verified {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

/* License Card */
.card-header-simple {
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-simple i {
    color: var(--accent-primary);
}

.license-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.license-input-group {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 5px;
    border: 1px solid var(--border-light);
}

.key-hidden {
    flex: 1;
    padding: 10px;
    font-family: monospace;
    color: #94a3b8;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}

.status-dot.active {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px #4ade80;
}

.license-status-row {
    font-size: 0.9rem;
    color: #4ade80;
}

/* Action List */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s;
}

.action-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.action-row .arrow {
    margin-left: auto;
    color: var(--border-light);
}

/* Admin Dashboard Styles */
.admin-pill {
    background: rgba(168, 85, 247, 0.1);
    color: #d8b4fe;
    border-color: rgba(168, 85, 247, 0.2);
}

.admin-select,
.admin-input,
.admin-textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: inherit;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.admin-select:focus,
.admin-input:focus,
.admin-textarea:focus {
    border-color: var(--accent-primary);
}

.admin-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: monospace;
}

.field-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
}

.stock-manager-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .stock-manager-layout {
        grid-template-columns: 1fr 2fr;
    }
}

.stock-status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.key-list {
    max-height: 150px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    list-style: none;
    margin: 0;
}

.key-list li {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.key-list li:last-child {
    border-bottom: none;
}


.admin-half-card {
    grid-column: span 12;
}

@media(min-width: 900px) {
    .admin-half-card {
        grid-column: span 6;
    }
}

/* Orbs */
.orb-1,
.orb-2 {
    position: fixed;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.3;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #ec4899;
    bottom: -100px;
    right: 0;
}