/* ─── Host Create Session Styles ─── */
.create-container {
    position: relative;
    z-index: 2;
    max-width: 560px;
    width: 95%;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.create-container h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    color: #333;
    background: #fff;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Teams */
.team-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.team-row .team-name {
    flex: 1;
}

.remove-team-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(239, 68, 68, 0.2);
    color: #ff8a8a;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-team-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

.add-team-btn {
    width: 100%;
    padding: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.add-team-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Join page */
.join-container {
    position: relative;
    z-index: 2;
    max-width: 560px;
    width: 95%;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.join-container h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.session-item {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.session-item.selected {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.session-item .session-name {
    font-weight: 700;
}

.session-item .session-meta {
    font-size: 0.8rem;
    opacity: 0.7;
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.team-item {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-weight: 600;
}

.team-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.team-item.selected {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.2);
}

.status-msg {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-msg.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ff8a8a;
}

.status-msg.success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}