/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.navbar-brand .logo {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    gap: 20px;
}

.navbar-items {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-link:hover {
    background: #f0f0f0;
    color: #333;
}

/* Main Container */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.page {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in;
}

/* Headers */
.details-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.details-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: white;
}

.details-header p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    color: white;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 0;
}

.lobbies-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.lobbies-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    color: #666;
    border-top: 1px solid #e9ecef;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* Steps Section */
.steps-section {
    margin-top: 30px;
}

.steps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.steps-header h2 {
    margin: 0;
}

/* QR Code */
.qr-code {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin: 20px 0;
}

.qr-code img {
    max-width: 300px;
    border: 2px solid #667eea;
    border-radius: 8px;
}

.qr-section {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Info Item */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: 600;
}

/* Archive Badge */
.archive-badge {
    display: inline-block;
    background: #ffc107;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive Helpers */
.table-responsive {
    overflow-x: auto;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
    gap: 10px;
}

.flex-1 {
    flex: 1;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
