* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;
    background: #F5F5F7;
    min-height: 100vh;
    color: #343A40;
    display: flex;
    flex-direction: column;
}

body.dark {
    background: #101c22;
    color: #E9ECEF;
}

/* Modern Design System - 기본 색상 */
:root {
    --md-primary: #005A9C;
    --md-primary-light: #0073B8;
    --md-primary-dark: #004A7C;
    --md-surface: #ffffff;
    --md-background: #F5F5F7;
    --md-text-primary: #343A40;
    --md-text-secondary: #6c757d;
    --md-text-subtle: #adb5bd;
    --md-divider: #dee2e6;
    --md-border: #dee2e6;

    /* Dark Mode Colors */
    --md-surface-dark: #182832;
    --md-background-dark: #101c22;
    --md-text-primary-dark: #E9ECEF;
    --md-text-secondary-dark: #adb5bd;
    --md-divider-dark: #343a40;
    --md-border-dark: #343a40;

    /* Elevation Shadows */
    --md-elevation-1: 0 2px 4px rgba(0, 0, 0, 0.08);
    --md-elevation-2: 0 4px 8px rgba(0, 0, 0, 0.12);
    --md-elevation-3: 0 6px 12px rgba(0, 0, 0, 0.14);
    --md-elevation-4: 0 8px 16px rgba(0, 0, 0, 0.15);
    --md-elevation-6: 0 12px 24px rgba(0, 0, 0, 0.18);
    --md-elevation-8: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* Material Symbols Outlined 기본 스타일 */
.material-icons,
.material-symbols-outlined {
    font-feature-settings: 'liga' 1;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.navbar {
    background: var(--md-surface);
    padding: 0.75rem 2rem;
    box-shadow: var(--md-elevation-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    position: sticky;
    top: 0;
    overflow: visible;
    z-index: 1000;
    flex-shrink: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--md-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--md-primary-dark);
}

#mainNavButtons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
    overflow: visible;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.btn {
    padding: 0.4rem 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    user-select: none;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

/* 버튼 내 아이콘 정렬 */
.btn .material-symbols-outlined {
    vertical-align: middle;
    margin-top: 2px;
    line-height: 1;
}

/* Material Design Ripple 효과 */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--md-primary);
    color: white;
    box-shadow: var(--md-elevation-2);
}

.btn-primary:hover {
    background: var(--md-primary-dark);
    box-shadow: var(--md-elevation-4);
}

.btn-primary:active {
    box-shadow: var(--md-elevation-6);
}

.btn-secondary {
    background: transparent;
    color: var(--md-primary);
    border: 2px solid var(--md-primary);
}

.btn-secondary:hover {
    background: rgba(0, 90, 156, 0.08);
    box-shadow: var(--md-elevation-1);
}

.btn-secondary:active {
    background: rgba(0, 90, 156, 0.12);
}

.btn-secondary.active {
    background: var(--md-primary);
    color: white;
    box-shadow: var(--md-elevation-2);
}

/* Navigation Menu Specific Styles */
#mainNavButtons .btn.btn-secondary {
    /* Ensure all nav buttons have consistent styling */
    background: transparent !important;
    color: var(--md-primary) !important;
    border: 2px solid var(--md-primary) !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    user-select: none !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 1 !important;
}

#mainNavButtons .btn.btn-secondary:hover {
    background: rgba(0, 90, 156, 0.08) !important;
    box-shadow: var(--md-elevation-1) !important;
}

#mainNavButtons .btn.btn-secondary:active {
    background: rgba(0, 90, 156, 0.12) !important;
}

#mainNavButtons .btn.btn-secondary.active {
    background: var(--md-primary) !important;
    color: white !important;
    box-shadow: var(--md-elevation-2) !important;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-flex;
    vertical-align: top;
    overflow: visible;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 2px solid var(--md-primary);
    background: transparent;
    color: var(--md-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.dropdown-toggle:hover {
    background: rgba(0, 90, 156, 0.08);
    box-shadow: var(--md-elevation-1);
}

.dropdown-toggle:active {
    background: rgba(0, 90, 156, 0.12);
}

.dropdown-toggle.active {
    background: var(--md-primary);
    color: white;
    box-shadow: var(--md-elevation-2);
}

/* 드롭다운 버튼 내 아이콘 정렬 */
.dropdown-toggle .material-symbols-outlined {
    vertical-align: middle;
    margin-top: 2px;
    line-height: 1;
}

.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    background: var(--md-surface);
    border: none;
    border-radius: 8px;
    box-shadow: var(--md-elevation-8);
    min-width: 240px;
    width: auto;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    pointer-events: none;
}

.dropdown-menu.active {
    max-height: 500px;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    color: var(--md-text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--md-divider);
    font-size: 0.875rem;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--md-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-item:hover {
    background: var(--md-background);
    color: var(--md-primary);
    padding-left: 2rem;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item.active {
    background: rgba(0, 90, 156, 0.1);
    color: var(--md-primary);
    font-weight: 500;
}

.dropdown-item.active::before {
    transform: scaleY(1);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    min-width: auto;
}

.btn-danger {
    background: #d32f2f;
    color: white;
    box-shadow: var(--md-elevation-2);
}

.btn-danger:hover {
    background: #c62828;
    box-shadow: var(--md-elevation-4);
}

.btn-danger:active {
    box-shadow: var(--md-elevation-6);
}

/* SPA 앱 콘텐츠 영역 */
.app-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    background: var(--md-surface);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--md-elevation-2);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    color: var(--md-primary);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-header h1 .material-icons {
    vertical-align: middle;
}

.content-box {
    background: var(--md-surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--md-elevation-2);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

thead {
    background: var(--md-primary);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--md-divider);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--md-divider);
    color: var(--md-text-primary);
    font-size: 0.875rem;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background: var(--md-background);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box input,
.search-box select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--md-divider);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--md-surface);
    color: var(--md-text-primary);
    font-family: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;
}

.search-box input::placeholder {
    color: var(--md-text-secondary);
}

.search-box input {
    flex: 1;
    min-width: 200px;
}

.search-box select {
    min-width: 150px;
    cursor: pointer;
}

.search-box input:hover,
.search-box select:hover {
    border-color: var(--md-primary);
    background: rgba(0, 90, 156, 0.02);
}

.search-box input:focus,
.search-box select:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
    background: var(--md-surface);
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.user-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: none;
}

.welcome-message {
    font-size: 1.2rem;
    color: #333;
}

.user-email {
    color: #666;
    font-size: 0.9rem;
}

/* Modal styles */
.modal {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[style*="display: block"],
.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: var(--md-surface);
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--md-elevation-8);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--md-divider);
}

.modal-header h2 {
    color: var(--md-primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin: 0;
}

.modal-content > :not(.modal-header):not(.modal-footer) {
    padding: 0 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--md-divider);
    background: var(--md-background);
}

.close-btn,
.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--md-text-secondary);
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover,
.close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--md-text-primary);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group.required label::after {
    content: ' *';
    color: #d32f2f;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--md-text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--md-divider);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--md-surface);
    color: var(--md-text-primary);
    font-family: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;
}

.form-group input::placeholder {
    color: var(--md-text-secondary);
}

.form-group select {
    cursor: pointer;
}

.form-group input:hover,
.form-group select:hover {
    border-color: var(--md-primary);
    background: rgba(0, 90, 156, 0.02);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
    background: var(--md-surface);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-confirmed {
    background: #d4edda;
    color: #155724;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-nfc {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-manual {
    background: #fff3cd;
    color: #856404;
}

/* Error message */
.error {
    color: #dc3545;
    padding: 1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

/* Home page styles */
.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--md-surface);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--md-elevation-2);
    border: 1px solid var(--md-divider);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--md-elevation-4);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantages-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--md-surface);
    border-radius: 12px;
    box-shadow: var(--md-elevation-2);
    color: var(--md-text-primary);
}

.advantages-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--md-primary);
    font-weight: 700;
}

.advantage-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--md-divider);
    border-radius: 12px;
    background: var(--md-surface);
    box-shadow: var(--md-elevation-1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    box-shadow: var(--md-elevation-3);
    border-color: var(--md-primary);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--md-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.advantage-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--md-text-secondary);
}

.footer {
    padding: 2rem;
    text-align: center;
    color: var(--md-text-secondary);
    background: var(--md-surface);
    border-top: 1px solid var(--md-divider);
    font-size: 0.9rem;
    margin-top: auto;
    flex-shrink: 0;
}

/* Auth Pages (Login/Register) Specific Styles */
.auth-page .navbar {
    display: none !important;
}

.auth-page .footer {
    display: none !important;
}

.auth-page .app-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-page .container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--md-elevation-8);
    max-width: 500px;
    width: 100%;
}

.auth-page .header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-page .header .logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--md-primary);
    margin-bottom: 0.5rem;
}

.auth-page .header .subtitle {
    color: var(--md-text-secondary);
    font-size: 1rem;
}

.auth-page .form-group {
    margin-bottom: 1.5rem;
}

.auth-page .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.auth-page .form-group input,
.auth-page .form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--md-divider);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;
}

.auth-page .form-group input:focus,
.auth-page .form-group select:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

.auth-page .radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.auth-page .radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    flex: 1;
    min-width: 120px;
}

.auth-page .radio-option:hover {
    border-color: #1976d2;
    background: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.auth-page .radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    accent-color: #1976d2;
}

.auth-page .radio-option input[type="radio"]:checked + label {
    color: #1976d2;
    font-weight: 600;
}

.auth-page .radio-option:has(input[type="radio"]:checked) {
    border-color: #1976d2;
    background: #e3f2fd;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.auth-page .radio-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    user-select: none;
    transition: color 0.3s ease;
}

.auth-page .conditional-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.auth-page .conditional-section.active {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1rem;
}

.auth-page .btn {
    width: 100%;
    padding: 1rem;
    background: var(--md-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--md-elevation-2);
}

.auth-page .btn:hover:not(:disabled) {
    background: var(--md-primary-dark);
    box-shadow: var(--md-elevation-4);
}

.auth-page .btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.auth-page .error {
    display: none;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-page .success {
    display: none;
    color: #28a745;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-page .loading {
    display: none;
    text-align: center;
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-page .divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-page .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e1e1;
}

.auth-page .divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.auth-page .link {
    text-align: center;
    margin-top: 1rem;
}

.auth-page .link a {
    color: var(--md-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-page .link a:hover {
    color: var(--md-primary-dark);
    text-decoration: underline;
}

/* Execution/Participant management styles */
.execution-info-card {
    background: var(--md-surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--md-elevation-2);
    border: 1px solid var(--md-divider);
    margin-bottom: 2rem;
}

.execution-info-title {
    font-size: 1.3rem;
    color: var(--md-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.execution-info-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.info-item-value {
    font-size: 1.1rem;
    color: #333;
}

.stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--md-surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--md-elevation-2);
    border: 1px solid var(--md-divider);
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--md-elevation-4);
}

.stat-card:first-child {
    margin-left: 0;
}

.stat-card:last-child {
    margin-right: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--md-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

.items-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.item-card {
    background: var(--md-surface);
    border: 1px solid var(--md-divider);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.item-card:hover {
    box-shadow: var(--md-elevation-3);
    border-color: var(--md-primary);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.item-header:hover {
    background: #eff0f5;
}

.item-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.item-icon {
    font-size: 1.5rem;
}

.item-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-type {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.item-name {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.item-comp-name {
    font-size: 0.9rem;
    color: #666;
}

.item-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--md-primary);
}

.item-toggle {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s;
}

.item-card.expanded .item-toggle {
    transform: rotate(180deg);
}

.item-body {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.item-card.expanded .item-body {
    display: block;
}

.participants-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background 0.3s;
}

.participant-item:hover {
    background: #eff0f5;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--md-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.participant-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.participant-name {
    font-weight: 600;
    color: #333;
}

.participant-date {
    font-size: 0.85rem;
    color: #999;
}

.participant-actions {
    display: flex;
    gap: 0.5rem;
}

.no-participants {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.95rem;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.table-container {
    overflow-x: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .auth-page .container {
        padding: 2rem;
        max-width: 100%;
    }

    .auth-page .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .execution-info-details {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .participant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .participant-actions {
        width: 100%;
    }

    .participant-actions .btn {
        width: 100%;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .item-header-left {
        width: 100%;
    }
}
