.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
}

.login-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--secondary);
}

.login-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.login-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.password-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.password-input-wrapper input {
    width: 100%;
    padding: 1rem 4rem 1rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-align: center;
    transition: all var(--transition-fast);
}

.password-input-wrapper input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.password-toggle,
.paste-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.password-toggle {
    right: 0.5rem;
}

.paste-btn {
    right: 2.5rem;
}

.password-toggle:hover,
.paste-btn:hover {
    color: var(--secondary);
}

.password-toggle svg,
.paste-btn svg {
    width: 20px;
    height: 20px;
}

.eye-closed {
    display: none;
}

.password-input-wrapper.show-password .eye-open {
    display: none;
}

.password-input-wrapper.show-password .eye-closed {
    display: block;
}

.password-hint {
    text-align: right;
    margin-bottom: 1rem;
}

.char-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.login-error {
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.login-error.show {
    display: block;
    animation: shake 0.5s ease;
}

.admin-dashboard {
    padding-bottom: 3rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.admin-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.admin-stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.admin-stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.admin-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-tab svg {
    width: 18px;
    height: 18px;
}

.admin-tab:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.admin-tab.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.admin-content {
    min-height: 400px;
}

.admin-table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table td {
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.admin-table tr:hover td {
    background: var(--bg-card-hover);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.admin-table .action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.admin-table .action-btn svg {
    width: 16px;
    height: 16px;
}

.admin-table .action-btn.edit {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.admin-table .action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.add-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.add-form h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
