:root {
    --notion-black: #191919;
    --notion-gray-dark: #37352f;
    --notion-gray: #787774;
    --notion-gray-light: #e3e2e0;
    --notion-gray-bg: #f7f6f3;
    --notion-white: #ffffff;
    --notion-blue: #337ea9;
    --notion-green: #448361;
    --notion-orange: #d9730d;
    --notion-red: #d44c47;
    --notion-yellow: #cb912f;
    --notion-hover: rgba(55, 53, 47, 0.08);
    --notion-border: rgba(55, 53, 47, 0.16);
}

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

body {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--notion-gray-dark);
    background: var(--notion-white);
}

a {
    color: var(--notion-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.notion-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 80px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .notion-page {
        padding: 30px 20px;
    }
}

.notion-header {
    margin-bottom: 32px;
}

.notion-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--notion-black);
    line-height: 1.2;
    margin-bottom: 8px;
}

.notion-subtitle {
    font-size: 16px;
    color: var(--notion-gray);
    font-weight: 400;
}

.notion-divider {
    height: 1px;
    background: var(--notion-gray-light);
    margin: 28px 0;
}

.notion-section {
    margin-bottom: 28px;
}

.notion-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--notion-gray-dark);
    margin-bottom: 14px;
}

.notion-text {
    color: var(--notion-gray-dark);
    margin-bottom: 10px;
}

.notion-text-secondary {
    color: var(--notion-gray);
    font-size: 14px;
}

.notion-callout {
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.notion-callout-info {
    background: rgba(51, 126, 169, 0.1);
    border-left: 3px solid var(--notion-blue);
}

.notion-callout-success {
    background: rgba(68, 131, 97, 0.1);
    border-left: 3px solid var(--notion-green);
}

.notion-callout-warning {
    background: rgba(203, 145, 47, 0.1);
    border-left: 3px solid var(--notion-yellow);
}

.notion-callout-error {
    background: rgba(212, 76, 71, 0.1);
    border-left: 3px solid var(--notion-red);
}

.notion-card {
    background: var(--notion-white);
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 10px;
    transition: background 0.15s ease;
}

.notion-card:hover {
    background: var(--notion-gray-bg);
}

.notion-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.notion-slot {
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--notion-white);
}

.notion-slot:hover {
    background: var(--notion-gray-bg);
    border-color: var(--notion-gray);
}

.notion-slot.selected {
    background: rgba(51, 126, 169, 0.1);
    border-color: var(--notion-blue);
}

.notion-slot-date {
    font-weight: 600;
    color: var(--notion-gray-dark);
    margin-bottom: 4px;
}

.notion-slot-time {
    font-size: 14px;
    color: var(--notion-gray);
}

.notion-slot-places {
    font-size: 12px;
    color: var(--notion-green);
    margin-top: 6px;
}

.notion-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .notion-price-grid {
        grid-template-columns: 1fr;
    }
}

.notion-price-card {
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.notion-price-card:hover {
    background: var(--notion-gray-bg);
}

.notion-price-card.selected {
    background: rgba(51, 126, 169, 0.1);
    border-color: var(--notion-blue);
}

.notion-price-duration {
    font-size: 14px;
    color: var(--notion-gray);
    margin-bottom: 6px;
}

.notion-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--notion-gray-dark);
}

.notion-price-unit {
    font-size: 12px;
    color: var(--notion-gray);
}

.notion-form-group {
    margin-bottom: 16px;
}

.notion-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--notion-gray);
    margin-bottom: 6px;
}

.notion-input,
.notion-select,
.notion-textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    background: var(--notion-white);
    color: var(--notion-gray-dark);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.notion-input:focus,
.notion-select:focus,
.notion-textarea:focus {
    outline: none;
    border-color: var(--notion-blue);
    box-shadow: 0 0 0 3px rgba(51, 126, 169, 0.15);
}

.notion-input::placeholder {
    color: var(--notion-gray);
}

.notion-textarea {
    resize: vertical;
    min-height: 80px;
}

.notion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
}

.notion-btn:hover {
    text-decoration: none;
}

.notion-btn-primary {
    background: var(--notion-blue);
    color: white;
}

.notion-btn-primary:hover {
    background: #2c6b91;
}

.notion-btn-secondary {
    background: var(--notion-gray-bg);
    color: var(--notion-gray-dark);
    border: 1px solid var(--notion-gray-light);
}

.notion-btn-secondary:hover {
    background: var(--notion-gray-light);
}

.notion-btn-danger {
    background: var(--notion-red);
    color: white;
}

.notion-btn-danger:hover {
    background: #b33b37;
}

.notion-btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.notion-btn-block {
    width: 100%;
}

.notion-btn-small {
    padding: 4px 10px;
    font-size: 12px;
}

.notion-counter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notion-counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--notion-gray-light);
    background: var(--notion-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.notion-counter-btn:hover {
    background: var(--notion-gray-bg);
}

.notion-counter-value {
    font-size: 20px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.notion-summary {
    background: var(--notion-gray-bg);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.notion-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--notion-gray-light);
}

.notion-summary-row:last-child {
    border-bottom: none;
}

.notion-summary-label {
    color: var(--notion-gray);
    font-size: 14px;
}

.notion-summary-value {
    font-weight: 500;
    color: var(--notion-gray-dark);
}

.notion-participant-card {
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--notion-white);
}

.notion-participant-header {
    font-weight: 600;
    color: var(--notion-gray-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--notion-gray-light);
}

.notion-participant-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 500px) {
    .notion-participant-fields {
        grid-template-columns: 1fr;
    }
}

.notion-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 8px;
}

.notion-step {
    display: flex;
    align-items: center;
    color: var(--notion-gray);
    font-size: 14px;
}

.notion-step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--notion-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    margin-right: 6px;
}

.notion-step.active .notion-step-number {
    background: var(--notion-blue);
    color: white;
}

.notion-step.active {
    color: var(--notion-gray-dark);
}

.notion-step.completed .notion-step-number {
    background: var(--notion-green);
    color: white;
}

.notion-step-line {
    width: 40px;
    height: 2px;
    background: var(--notion-gray-light);
    margin: 0 10px;
}

.notion-breadcrumb {
    font-size: 14px;
    color: var(--notion-gray);
    margin-bottom: 20px;
}

.notion-breadcrumb a {
    color: var(--notion-gray);
    text-decoration: none;
}

.notion-breadcrumb a:hover {
    color: var(--notion-gray-dark);
}

.notion-breadcrumb-separator {
    margin: 0 8px;
}

.notion-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.notion-badge-gray {
    background: var(--notion-gray-bg);
    color: var(--notion-gray);
}

.notion-badge-green {
    background: rgba(68, 131, 97, 0.15);
    color: var(--notion-green);
}

.notion-badge-blue {
    background: rgba(51, 126, 169, 0.15);
    color: var(--notion-blue);
}

.notion-badge-orange {
    background: rgba(217, 115, 13, 0.15);
    color: var(--notion-orange);
}

.notion-badge-red {
    background: rgba(212, 76, 71, 0.15);
    color: var(--notion-red);
}

.notion-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--notion-gray);
}

.notion-empty-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--notion-gray-dark);
}

.notion-table {
    width: 100%;
    border-collapse: collapse;
}

.notion-table th,
.notion-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--notion-gray-light);
}

.notion-table th {
    font-weight: 500;
    font-size: 12px;
    color: var(--notion-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--notion-gray-bg);
}

.notion-table td {
    font-size: 14px;
}

.notion-table tr:hover td {
    background: var(--notion-gray-bg);
}

.notion-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--notion-gray-light);
    text-align: center;
    font-size: 12px;
    color: var(--notion-gray);
}

.notion-footer a {
    color: var(--notion-gray);
    text-decoration: none;
}

.notion-footer a:hover {
    color: var(--notion-gray-dark);
}

.admin-body {
    background: var(--notion-gray-bg);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--notion-black);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
}

.nav-link.active {
    background: var(--notion-blue);
    color: white;
}

.sidebar-footer {
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer .logout {
    color: var(--notion-red);
}

.admin-content {
    flex: 1;
    margin-left: 240px;
    padding: 30px;
}

.admin-content h1 {
    margin-bottom: 24px;
    color: var(--notion-gray-dark);
    font-size: 26px;
}

.admin-card {
    background: white;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--notion-gray-light);
}

.admin-card h2 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--notion-gray-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    padding: 20px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--notion-gray-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--notion-gray);
    margin-top: 4px;
}

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

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--notion-gray);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--notion-blue);
    box-shadow: 0 0 0 3px rgba(51, 126, 169, 0.15);
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--notion-gray);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--notion-blue);
    color: white;
}

.btn-primary:hover {
    background: #2c6b91;
}

.btn-secondary {
    background: var(--notion-gray-bg);
    color: var(--notion-gray-dark);
    border: 1px solid var(--notion-gray-light);
}

.btn-secondary:hover {
    background: var(--notion-gray-light);
}

.btn-danger {
    background: var(--notion-red);
    color: white;
}

.btn-danger:hover {
    background: #b33b37;
}

.btn-small {
    padding: 4px 10px;
    font-size: 12px;
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background: rgba(68, 131, 97, 0.15);
    color: var(--notion-green);
    border-left: 3px solid var(--notion-green);
}

.alert-error {
    background: rgba(212, 76, 71, 0.15);
    color: var(--notion-red);
    border-left: 3px solid var(--notion-red);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-nav h3 {
    font-size: 18px;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-header {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--notion-gray);
}

.calendar-day {
    min-height: 70px;
    padding: 6px;
    background: white;
    border: 1px solid var(--notion-gray-light);
    border-radius: 4px;
    font-size: 12px;
}

.calendar-day.other-month {
    background: var(--notion-gray-bg);
    color: var(--notion-gray);
}

.calendar-day.today {
    border-color: var(--notion-blue);
    border-width: 2px;
}

.day-number {
    font-weight: 600;
    margin-bottom: 4px;
}

.day-slot {
    background: rgba(68, 131, 97, 0.15);
    color: var(--notion-green);
    padding: 2px 4px;
    border-radius: 2px;
    margin-top: 2px;
    font-size: 10px;
    cursor: pointer;
}

.day-slot:hover {
    background: rgba(68, 131, 97, 0.25);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--notion-gray-bg);
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 36px;
    border-radius: 4px;
    border: 1px solid var(--notion-gray-light);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 22px;
}

.login-box > p {
    text-align: center;
    color: var(--notion-gray);
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-admin {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--notion-gray-light);
    text-align: center;
    font-size: 11px;
    color: var(--notion-gray);
}

.footer-admin a {
    color: var(--notion-gray);
    text-decoration: none;
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .admin-wrapper {
        flex-direction: column;
    }
    
    .calendar-grid {
        font-size: 10px;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 4px;
    }
}
/* Initiation slot styles */
.initiation-slot {
    text-decoration: none;
    color: inherit;
    display: block;
}

.initiation-slot:hover {
    text-decoration: none;
}

.initiation-slot-header {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* Badge color variants for disciplines */
.notion-badge-kayak {
    background: rgba(51, 126, 169, 0.15);
    color: var(--notion-blue);
}

.notion-badge-canoe {
    background: rgba(68, 131, 97, 0.15);
    color: var(--notion-green);
}

.notion-badge-paddle {
    background: rgba(217, 115, 13, 0.15);
    color: var(--notion-orange);
}
