@font-face {
    font-family: 'GT America';
    src: local('GT America');
    font-weight: 100 900;
    font-style: normal;
}

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
}

body {
    font-family: 'GT America', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== CONTAINER & VIEWS ==================== */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.view {
    width: 100%;
    display: none;
    animation: fadeIn 0.3s ease;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ==================== LOGIN VIEW ==================== */
.login-view {
    max-width: 400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Logo in chat header */
header .logo-img {
    height: 48px;
}

/* Logo in login page */
.login-view .logo-img {
    height: 144px;
}

.subtitle {
    font-size: 14px;
    color: var(--gray-500);
}

.form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.form-description {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-600);
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--gray-50);
    outline: none;
    transition: all 0.15s ease;
}

.input-field:focus {
    border-color: var(--black);
    background: var(--white);
}

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

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    transition: stroke 0.15s ease;
}

.password-toggle:hover svg {
    stroke: var(--black);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.checkbox:checked {
    background: var(--black);
    border-color: var(--black);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.checkbox-label {
    font-size: 13px;
    color: var(--gray-600);
}

.forgot-link {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s ease;
}

.forgot-link:hover {
    color: var(--black);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--gray-700);
}

.submit-btn:disabled {
    background: var(--gray-200);
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider-text {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sso-btn {
    width: 100%;
    padding: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sso-btn:hover {
    border-color: var(--black);
}

.sso-btn svg {
    width: 20px;
    height: 20px;
}

.google-signin-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    min-height: 44px;
}

.form-hint {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

.form-error {
    font-size: 13px;
    color: #dc2626;
    text-align: center;
    margin: 1rem 0;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.loading .spinner {
    display: inline-block;
}

.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== ASSISTANT SELECTION VIEW ==================== */
.selection-view {
    max-width: 640px;
    margin: 0 auto;
}

.selection-header {
    text-align: center;
    margin-bottom: 48px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.user-greeting {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.admin-btn {
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.admin-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--black);
}

.selection-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}


.environment-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.env-toggle {
    display: flex;
    gap: 12px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 2px;
}

.env-btn {
    padding: 8px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.env-btn.active {
    background: var(--black);
    color: var(--white);
}

.env-btn:hover:not(.active):not(.disabled) {
    color: var(--black);
}

.env-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-200);
    color: var(--gray-400);
}

.env-btn.disabled:hover {
    background: var(--gray-200);
    color: var(--gray-400);
}

.assistants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.assistant-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.assistant-card:hover {
    border-color: var(--black);
}

.assistant-card:hover .assistant-arrow {
    opacity: 1;
    transform: translateX(0);
}

.assistant-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--gray-50);
}

.assistant-card.disabled:hover {
    border-color: var(--gray-200);
}

.assistant-card.disabled .assistant-icon {
    background: var(--gray-300);
}

.assistant-card.disabled .assistant-icon svg {
    stroke: var(--gray-500);
}

.assistant-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--gray-200);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assistant-icon {
    width: 48px;
    height: 48px;
    background: var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.assistant-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.assistant-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.assistant-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.15s ease;
}

.assistant-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--black);
}


.assistant-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-link {
    display: block;
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.15s ease;
}

.logout-link:hover {
    color: var(--black);
}

/* ==================== CHAT INTERFACE ==================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .assistant-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.end-session-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--gray-400);
    border-radius: 0.375rem;
    color: var(--black);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0.5rem;
}

.end-session-btn:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-500);
}

.new-chat-btn {
    background: var(--gray-600);
    border: 1px solid var(--gray-600);
    cursor: pointer;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    border-radius: 8px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-chat-btn:hover {
    background: var(--gray-700);
    border-color: var(--gray-700);
    color: var(--white);
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    transition: background 0.15s ease;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.back-btn:hover {
    background: var(--gray-100);
    color: var(--black);
}

.back-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: var(--gray-400);
    animation: none;
}

.staging-banner {
    width: 100%;
    background: #FFEB3B;
    color: var(--black);
    padding: 12px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.staging-banner span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== WORKFLOW ID DISPLAY ==================== */
.workflow-id-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    background: var(--gray-50);
    padding: 8px 24px;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
}

.workflow-id-label {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 12px;
}

.workflow-id-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 11px;
    color: var(--gray-600);
    transition: all 0.15s ease;
}

.workflow-id-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--black);
}

.workflow-id-btn.copied {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.workflow-id-btn.copied:hover {
    background: var(--gray-700);
    border-color: var(--gray-700);
}

.workflow-id-icon {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.chat-content {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.welcome {
    text-align: center;
    padding: 80px 20px;
}

.welcome-icon {
    width: 64px;
    height: 64px;
    background: var(--black);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.welcome-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.welcome h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome p {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.suggestion {
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    font-family: inherit;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s ease;
}

.suggestion:hover {
    border-color: var(--black);
    color: var(--black);
}

.message {
    display: flex;
    gap: 12px;
    animation: fadeIn 0.2s ease;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.message-bot .message-avatar {
    background: var(--black);
    color: var(--white);
}

.message-user .message-avatar {
    background: var(--gray-200);
    color: var(--gray-600);
}

.message-content {
    flex: 1;
    padding-top: 4px;
}

.message-sender {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.message-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.message-user .message-text {
    color: var(--black);
}

/* Copyable bot messages */
.message-bot .message-text-wrapper {
    position: relative;
}

.message-bot .message-text {
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
    margin: -4px -8px;
}

.message-bot .message-text:hover {
    background-color: var(--gray-100);
}

.message-bot .copy-indicator {
    position: absolute;
    top: -28px;
    right: 0;
    background: var(--black);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    animation: fadeInOut 0.2s ease;
}

@keyframes fadeInOut {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSV download link */
.csv-download-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #0066cc;
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}

.csv-download-link:hover {
    color: #0052a3;
}

.message-text p {
    margin-bottom: 12px;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text ul, .message-text ol {
    margin: 12px 0;
    padding-left: 20px;
}

.message-text li {
    margin-bottom: 6px;
}

.message-text code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.message-time {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 8px;
}

.typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing span {
    width: 6px;
    height: 6px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

.input-area {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 20px 24px;
    flex-shrink: 0;
}

.input-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.input-wrapper {
    flex: 1;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 4px;
    transition: border-color 0.15s ease;
}

.input-wrapper:focus-within {
    border-color: var(--black);
}

.input-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    outline: none;
    min-height: 24px;
    max-height: 160px;
}

.input-wrapper textarea::placeholder {
    color: var(--gray-400);
}

.send-btn {
    width: 48px;
    height: 48px;
    background: var(--black);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.send-btn:hover {
    background: var(--gray-700);
}

.send-btn:disabled {
    background: var(--gray-200);
    cursor: not-allowed;
}

.send-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.input-hint {
    text-align: center;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ==================== ADMIN PAGE ==================== */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px;
}

.admin-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.admin-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.create-user-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.create-user-form .input-field {
    flex: 1;
}

.create-user-form .submit-btn {
    padding: 14px 24px;
    white-space: nowrap;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
}

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

.user-info {
    flex: 1;
}

.user-email {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-name {
    font-size: 14px;
    color: var(--gray-500);
}

.user-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: var(--gray-200);
    color: var(--gray-600);
}

.status-badge.inactive {
    background: var(--gray-100);
    color: var(--gray-400);
}

.permissions-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.permissions-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.permission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

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

.permission-toggle {
    width: 40px;
    height: 22px;
    background: var(--gray-300);
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
}

.permission-toggle.active {
    background: var(--black);
}

.permission-toggle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.15s ease;
}

.permission-toggle.active::after {
    transform: translateX(18px);
}

.action-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s ease;
}

.action-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--black);
}

.action-btn.danger {
    color: var(--gray-600);
}

.action-btn.danger:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-500);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    stroke: var(--gray-400);
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-600);
}

.empty-state p {
    font-size: 14px;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 24px;
}

.footer-text {
    font-size: 12px;
    color: var(--gray-400);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 640px) {
    header {
        padding: 12px 16px;
    }

    .chat-container {
        padding: 20px 16px;
    }

    .input-area {
        padding: 16px;
    }

    .welcome {
        padding: 40px 16px;
    }

    .suggestions {
        flex-direction: column;
    }

    .suggestion {
        width: 100%;
    }

    .assistants-grid {
        grid-template-columns: 1fr;
    }

    .form {
        padding: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .selection-title {
        font-size: 24px;
    }

    .back-btn {
        display: none;
    }

    .workflow-id-container {
        font-size: 11px;
        padding: 6px 16px !important;
    }

    .workflow-id-btn {
        font-size: 10px;
        padding: 2px 8px;
    }
}
