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

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background: #ffffff;
    color: #000000;
    padding: 30px 20px;
    text-align: center;
}

.logo {
    max-width: 500px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1em;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.session-card {
    background: #e8e8e8;
    border-radius: 0;
    margin-bottom: 20px;
    overflow: hidden;
    border-top: 4px solid #DB2128;
}

.submitted-badge {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: auto;
}

.session-header {
    background: #d0d0d0;
    padding: 15px 20px;
    border-bottom: 1px solid #bbb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.session-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #1B2A62;
    text-transform: uppercase;
    margin: 0;
}

.session-description {
    padding: 15px 20px;
    font-size: 0.9em;
    color: #555;
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
}

.session-sponsor {
    padding: 10px 20px;
    font-size: 0.85em;
    color: #DB2128;
    font-style: italic;
    background: #e8e8e8;
}

.session-form {
    padding: 15px 20px 20px;
    background: #e8e8e8;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85em;
    font-weight: bold;
    color: #1B2A62;
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #1B2A62;
}

.btn-submit {
    background: #1B2A62;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #DB2128;
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #27ae60;
}

.toast.error {
    background: #DB2128;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #DB2128;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #1B2A62;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

main {
    width: 100%;
}

/* Sidebar Navigation - Desktop Only */
.sidebar {
    display: none;
}

.sidebar-toggle,
.sidebar-toggle-open {
    display: none;
}

@media (min-width: 1024px) {
    .content-wrapper {
        max-width: 950px;
        margin: 30px auto;
        padding: 0 20px;
    }

    .sidebar-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #666;
        padding: 5px;
        line-height: 1;
    }

    .sidebar-toggle:hover {
        color: #DB2128;
    }

    .sidebar-toggle-open {
        display: none;
        position: fixed;
        left: 20px;
        top: 20px;
        background: #ffffff;
        border: none;
        cursor: pointer;
        color: #1B2A62;
        padding: 12px 15px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 100;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .sidebar-toggle-open .toggle-label {
        font-size: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #1B2A62;
    }

    .sidebar-toggle-open .toggle-icon {
        font-size: 20px;
    }

    .sidebar-toggle-open:hover {
        background: #f0f0f0;
    }

    .sidebar-toggle-open.show {
        display: flex;
    }

    .sidebar {
        display: block;
        position: fixed;
        left: 10px;
        top: 20px;
        width: 220px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        background: #ffffff;
        padding: 15px;
        padding-top: 35px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .sidebar.hidden {
        display: none !important;
    }

    main {
        width: 100%;
    }

    .sidebar-title {
        font-size: 12px;
        font-weight: bold;
        color: #1B2A62;
        text-transform: uppercase;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid #DB2128;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar li {
        margin-bottom: 8px;
    }

    .sidebar a {
        display: block;
        padding: 8px 12px;
        font-size: 11px;
        color: #666;
        text-decoration: none;
        border-left: 3px solid transparent;
        transition: all 0.3s;
        line-height: 1.3;
    }

    .sidebar a:hover {
        color: #1B2A62;
        border-left-color: #1B2A62;
    }

    .sidebar a.active {
        font-size: 13px;
        font-weight: bold;
        color: #DB2128;
        border-left-color: #DB2128;
        background: rgba(219, 33, 40, 0.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 1.5em;
    }
}
