* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.join-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 8px;
}

.subtitle {
    color: #6b7280;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.disclaimer-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.disclaimer-box h3 {
    color: #92400e;
    font-size: 16px;
    margin-bottom: 12px;
}

.disclaimer-box ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer-box li {
    color: #78350f;
    font-size: 13px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.disclaimer-box li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.privacy-link {
    display: inline-block;
    margin-top: 12px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.privacy-link:hover {
    text-decoration: underline;
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.join-btn {
    width: 100%;
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.join-btn:hover:not(:disabled) {
    background: #5568d3;
}

.join-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.session-info {
    text-align: center;
    margin-top: 16px;
    color: #6b7280;
    font-size: 14px;
}

/* Agent Page Styles */
.agent-page {
    background: #f9fafb;
}

.agent-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.agent-header {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-header h2 {
    color: #1f2937;
    font-size: 24px;
}

.session-status {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

.agent-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.agent-footer {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-footer p {
    color: #6b7280;
    font-size: 14px;
}

.end-btn {
    padding: 10px 24px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.end-btn:hover {
    background: #dc2626;
}

/* Responsive */
@media (max-width: 600px) {
    .join-card {
        padding: 24px;
    }
    
    .agent-header,
    .agent-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
