


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&display=swap');

:root {
    --bg-main: #070a14;
    --bg-card: rgba(13, 20, 37, 0.95);
    --bg-input: rgba(8, 12, 22, 0.98);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.15);
    
    --primary: #2563eb; 
    --primary-glow: rgba(37, 99, 235, 0.1);
    --primary-dark: #1d4ed8;
    --accent: #eab308;
    --accent-glow: rgba(234, 179, 8, 0.05);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.08);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.08);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.08);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --transition: all 0.2s ease-in-out;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Orbitron', monospace;
}


.error-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--danger);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.05);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-main);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 102, 255, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 85, 255, 0.08) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}


.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
    pointer-events: none;
}


.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    background: rgba(7, 10, 20, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px; 
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.brand-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text span.dept {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.brand-text span.div {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 900;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px; 
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

nav a:hover, nav a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}


.page-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    padding: 60px 8%;
    min-height: 80vh;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--primary);
    border-radius: 10px; 
    padding: 12px 22px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #020408;
    font-weight: 700;
}

.btn-primary:hover {
    background: #1a75ff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background: transparent;
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    box-shadow: none;
}

.btn-danger {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(255, 23, 68, 0.05);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
    box-shadow: 0 0 15px var(--danger-glow);
}


.hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 8%;
    background: linear-gradient(135deg, #0a0e1a 0%, #11182c 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px; 
    overflow: hidden;
    margin-bottom: 40px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 680px;
    z-index: 2;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--primary);
    border-radius: 20px; 
    color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.hero h1 {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero h1 span.highlight {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    padding: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.12);
    transform: translateY(-2px);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px; 
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    margin-bottom: 16px;
    color: var(--primary);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}


.presentation-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.presentation-desc h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.presentation-desc p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.rpd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-item {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 12px; 
    padding: 12px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.form-container {
    max-width: 760px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px; 
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.25);
}

textarea {
    resize: vertical;
    min-height: 110px;
}


.switch-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 18px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    transition: .3s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(0, 102, 255, 0.15);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}


.job-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    padding: 24px;
    margin-bottom: 18px;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.job-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.08);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-title-area h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    margin-top: 2px;
}

.job-div {
    color: var(--primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.job-date {
    color: var(--text-muted);
}

.job-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.job-reqs {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-bottom: 18px;
}

.job-reqs h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.job-reqs p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}


.tracking-search-box {
    max-width: 500px;
    margin: 0 auto 35px auto;
    text-align: center;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.search-input-wrapper input {
    text-align: center;
    font-family: var(--font-mono);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.tracking-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    padding: 26px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tracking-header-info {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 15px;
}

.track-num {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
}

.track-type {
    color: var(--text-secondary);
}

.track-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}


.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 35px 0;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
}

.step-progress {
    position: absolute;
    top: 14px;
    left: 5%;
    height: 2px;
    background: var(--primary);
    z-index: 1;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px var(--primary-glow);
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 20%;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-node.active .step-dot {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.step-node.completed .step-dot {
    border-color: var(--success);
    background: var(--success);
    color: #020408;
    box-shadow: 0 0 12px var(--success-glow);
}

.step-node.cancelled .step-dot {
    border-color: var(--danger);
    background: var(--danger);
    color: white;
    box-shadow: 0 0 12px var(--danger-glow);
}

.step-label {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-node.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-node.completed .step-label {
    color: var(--success);
}

.step-node.cancelled .step-label {
    color: var(--danger);
}

.tracking-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px; 
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-received { background: rgba(0, 102, 255, 0.1); border: 1px solid var(--primary); color: var(--primary); }
.status-assigned { background: rgba(255, 145, 0, 0.1); border: 1px solid var(--warning); color: var(--warning); }
.status-active { background: rgba(255, 145, 0, 0.15); border: 1px solid var(--warning); color: var(--warning); }
.status-closed { background: rgba(0, 230, 118, 0.1); border: 1px solid var(--success); color: var(--success); }
.status-dismissed { background: rgba(255, 23, 68, 0.1); border: 1px solid var(--danger); color: var(--danger); }

.tracking-notes-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px; 
    padding: 16px;
    margin-top: 20px;
}

.tracking-notes-box h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}

.tracking-notes-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    width: 100%;
    max-width: 620px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-close {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.4rem;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 22px;
    max-height: 75vh;
    overflow-y: auto;
}


.admin-login-wrapper {
    max-width: 400px;
    margin: 40px auto;
}

.admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.db-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    border-radius: 10px; 
    flex-wrap: wrap;
    gap: 15px;
}

.db-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.db-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.db-connected { color: var(--success); }
.db-connected .db-badge-dot { background-color: var(--success); box-shadow: 0 0 8px var(--success); }
.db-fallback { color: var(--danger); }
.db-fallback .db-badge-dot { background-color: var(--danger); box-shadow: 0 0 8px var(--danger); }

.admin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-email {
    font-size: 0.88rem;
    color: var(--text-secondary);
}


.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px; 
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.admin-stat-icon svg {
    width: 20px;
    height: 20px;
}

.admin-stat-details {
    display: flex;
    flex-direction: column;
}

.admin-stat-val {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.admin-stat-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.admin-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-tab-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px 8px 0 0; 
}

.admin-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.admin-tab-btn.active {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.06);
    border-bottom: 2px solid var(--primary);
}

.admin-workspace {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px; 
    padding: 26px;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.admin-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}


.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 12px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    color: var(--text-primary);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}


.details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.details-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.details-value {
    font-size: 0.92rem;
    color: var(--text-primary);
}

.details-value-code {
    font-family: var(--font-mono);
    color: var(--primary);
    font-weight: 700;
}

.badge-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px; 
    font-size: 0.72rem;
    font-weight: 700;
}


.action-btn-group {
    display: flex;
    gap: 6px;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
}

.icon-btn.btn-delete:hover {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(255, 23, 68, 0.08);
}


footer {
    text-align: center;
    padding: 40px 8%;
    border-top: 1px solid var(--border-color);
    background: rgba(2, 4, 8, 0.95);
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

footer p.rpd-title {
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}


@keyframes pulse {
    0% { transform: scale(0.92); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 8px var(--primary); }
    100% { transform: scale(0.92); opacity: 0.6; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


@media(max-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 12px;
        padding: 15px 5%;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero {
        padding: 40px 5%;
        text-align: center;
        background: linear-gradient(180deg, #020408 0%, #06112c 100%);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .page-section {
        padding: 35px 5%;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .db-status-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stepper {
        flex-direction: column;
        gap: 18px;
        margin: 15px 0;
    }
    
    .stepper::before, .step-progress {
        display: none;
    }
    
    .step-node {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 12px;
    }
    
    .step-label {
        margin-top: 0;
    }
}
