/* auth.css — Authentication page styles */
/* Shared terminal-input/field styles in pages.css */

/* --- Validation --- */
.terminal-validation {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.75rem;
    color: #ff5f57;
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

.terminal-error {
    background: rgba(255, 95, 87, 0.1);
    border: 1px solid rgba(255, 95, 87, 0.3);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: #ff5f57;
    letter-spacing: 1px;
}

.terminal-error:empty {
    display: none;
}

/* --- Checkbox --- */
.terminal-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terminal-check {
    width: 18px;
    height: 18px;
    appearance: none;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.terminal-check:checked {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--color-accent);
}

.terminal-check:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--color-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terminal-check-label {
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 2px;
    cursor: pointer;
}

/* --- Optional Tag --- */
.optional-tag {
    font-size: 0.65rem;
    color: var(--color-muted);
    opacity: 0.5;
}

/* --- Auth Links --- */
.auth-links {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    text-align: center;
}

.auth-link-tag {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: var(--color-muted);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.auth-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* --- Header Link Button (for logout) --- */
.header-link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

/* --- Profile Avatar Preview --- */
.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    object-fit: cover;
    background: rgba(0, 255, 255, 0.05);
}

.avatar-preview-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 1.5rem;
}

/* --- Password Section --- */
.password-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.password-section-title {
    font-family: 'Exo 2', monospace;
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* --- Success Message --- */
.terminal-success {
    background: rgba(40, 200, 64, 0.1);
    border: 1px solid rgba(40, 200, 64, 0.3);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: #28c840;
    letter-spacing: 1px;
}

/* --- Avatar Info --- */
.avatar-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.avatar-email {
    font-family: 'Exo 2', monospace;
    font-size: 0.9rem;
    color: var(--color-muted);
    letter-spacing: 1px;
}

/* --- Dashboard --- */
.dashboard-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.dashboard-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px dashed rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 2rem;
    background: rgba(0, 255, 255, 0.03);
}

.dashboard-identity {
    display: flex;
    flex-direction: column;
}

.dashboard-email {
    font-family: 'Exo 2', monospace;
    font-size: 0.9rem;
    color: var(--color-muted);
    letter-spacing: 1px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 2px;
    padding: 0.3rem 0.6rem;
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    width: fit-content;
}

/* Stats Number */
.stats-number {
    font-family: 'Audiowide', monospace;
    font-size: 3.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin: 0.5rem 0;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.stats-label {
    font-family: 'Exo 2', monospace;
    font-size: 0.75rem;
    color: var(--color-muted);
    letter-spacing: 3px;
}

/* Top Artists */
.top-artists-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.top-artist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 255, 255, 0.03);
    border-left: 2px solid var(--color-primary);
    transition: all 0.2s ease;
}

.top-artist-item:hover {
    background: rgba(0, 255, 255, 0.06);
    border-left-color: var(--color-accent);
}

.top-artist-rank {
    font-family: 'Audiowide', monospace;
    font-size: 1rem;
    color: var(--color-primary);
    min-width: 2rem;
}

.top-artist-name {
    flex: 1;
    font-family: 'Russo One', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.top-artist-count {
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 1px;
}

.top-artist-count i {
    color: var(--color-primary);
    margin-left: 0.3rem;
}

/* Recent Likes Grid */
.recent-likes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.recent-like-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.recent-like-card:hover {
    background: rgba(0, 255, 255, 0.06);
    border-color: rgba(0, 255, 255, 0.2);
}

.recent-like-art {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.recent-like-art-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    border: 1px dashed rgba(0, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    background: rgba(0, 255, 255, 0.02);
}

.recent-like-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.recent-like-title {
    font-family: 'Russo One', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-like-artist {
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-like-date {
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: rgba(176, 153, 255, 0.6);
    letter-spacing: 1px;
}

/* --- Forgot Password Link --- */
.auth-link-forgot {
    font-size: 0.75rem;
    opacity: 0.7;
}

.auth-link-forgot:hover {
    opacity: 1;
}

/* --- Info Text --- */
.terminal-info {
    font-family: 'Exo 2', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.terminal-info-muted {
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* --- Confirmation Icon --- */
.confirm-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.confirm-icon-success {
    color: #28c840;
}

/* --- Danger Styles --- */
.terminal-panel-danger {
    border-color: rgba(255, 95, 87, 0.3);
}

.glitch-title-danger {
    color: #ff5f57;
}

.glitch-title-danger::before,
.glitch-title-danger::after {
    color: #ff5f57;
}

.danger-warning {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 95, 87, 0.08);
    border: 1px solid rgba(255, 95, 87, 0.2);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.danger-warning i {
    font-size: 1.5rem;
    color: #ff5f57;
    flex-shrink: 0;
}

.danger-warning-text {
    font-family: 'Exo 2', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.danger-warning-text strong {
    color: #ff5f57;
    display: block;
    margin-bottom: 0.5rem;
}

.danger-warning-text p {
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}

.btn-danger-transmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #ff5f57;
    color: #ff5f57;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-danger-transmit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 95, 87, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-danger-transmit:hover {
    background: rgba(255, 95, 87, 0.1);
    box-shadow: 0 0 20px rgba(255, 95, 87, 0.3);
    color: #fff;
}

.btn-danger-transmit:hover::before {
    left: 100%;
}

/* --- Sidebar Danger Link --- */
.sidebar-link-danger {
    color: rgba(255, 95, 87, 0.7);
}

.sidebar-link-danger:hover,
.sidebar-link-danger.active {
    color: #ff5f57;
    background: rgba(255, 95, 87, 0.1);
    border-left-color: #ff5f57;
}

/* --- Small Button Variant --- */
.btn-transmit-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* --- Profile URL Input --- */
.profile-url-prefix {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-right: none;
    border-radius: 2px 0 0 2px;
    color: var(--color-accent);
    font-family: 'Exo 2', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.6rem 0.8rem;
}

.profile-slug-input {
    border-radius: 0 2px 2px 0 !important;
}

.terminal-hint {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: var(--color-muted);
    opacity: 0.6;
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

/* --- Required Tag --- */
.required-tag {
    font-size: 0.65rem;
    color: var(--color-primary);
    opacity: 0.7;
}

/* --- Profile URL Display (read-only) --- */
.profile-url-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 2px;
}

.profile-url-text {
    font-family: 'Exo 2', monospace;
    font-size: 0.95rem;
    color: var(--color-accent);
    letter-spacing: 1px;
}
