@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Welcome Screen Styles */
.welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 2rem;
    animation: fadeIn 0.6s ease;
}

.welcome-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.welcome-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.welcome-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.welcome-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

.welcome-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.welcome-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.welcome-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.welcome-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.welcome-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.suggestion-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

.suggestion-btn i {
    font-size: 1rem;
}

/* Show welcome screen by default - will be hidden by JavaScript when messages added */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .welcome-icon {
        font-size: 3.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .welcome-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .welcome-card {
        padding: 1rem;
    }

    .welcome-card i {
        font-size: 1.5rem;
    }

    .welcome-card h3 {
        font-size: 0.875rem;
    }

    .welcome-card p {
        font-size: 0.75rem;
    }

    .suggestion-btn {
        font-size: 0.8125rem;
        padding: 0.625rem 1rem;
    }
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-tertiary: #ececf1;
    --text-primary: #0d0d0d;
    --text-secondary: #676767;
    --border: #e5e5e5;
    --accent: #d4af37;
    --accent-hover: #b8941f;
    --user-bg: #f4f4f4;
    --ai-bg: #ffffff;
}

body {
    font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    border-right: 1px solid #2a2a2a;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, width 0.3s ease;
}

.sidebar.collapsed {
    transform: translateX(-100%);
    width: 0;
    padding: 0;
    overflow: hidden;
}

.main-content {
    transition: margin-right 0.3s ease;
}

.main-content.expanded {
    margin-right: 0;
}

.logo-container {
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-icon-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e8e;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.settings-icon-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    transform: rotate(90deg);
}

.logo-icon {
    font-size: 1.5rem;
    color: #d4af37;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    animation: logoBreath 3s ease-in-out infinite;
}

@keyframes logoBreath {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
    }
}

.logo-container h1 {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.new-chat-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(16, 163, 127, 0.1);
}

.new-chat-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #d4af37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-history-label {
    font-size: 0.75rem;
    color: #8e8e8e;
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.chat-history::-webkit-scrollbar {
    width: 4px;
}

.chat-history::-webkit-scrollbar-track {
    background: transparent;
}

.chat-history::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 2px;
}

.chat-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    position: relative;
}

.chat-history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.chat-history-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(3px);
}

.chat-history-item:hover::before {
    height: 60%;
}

.chat-history-item.active {
    background: rgba(212, 175, 55, 0.1);
}

.chat-history-item.active::before {
    height: 70%;
}

.chat-item-content {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}

.chat-item-content i {
    font-size: 0.875rem;
    color: #d4af37;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.chat-history-item:hover .chat-item-content i {
    transform: scale(1.1);
}

.chat-item-content span {
    font-size: 0.875rem;
    color: #ececec;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delete-chat-btn {
    background: transparent;
    border: none;
    color: #666;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-history-item:hover .delete-chat-btn {
    opacity: 1;
}

.delete-chat-btn:hover {
    background: #2a2a2a;
    color: #ef4444;
}

.user-profile {
    margin-top: auto;
    padding: 0.625rem 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.user-profile:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #d4af37;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-info #username {
    font-weight: 500;
    font-size: 0.875rem;
    color: #ececec;
    display: block;
}

.user-info .status {
    font-size: 0.75rem;
    color: #8e8e8e;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}

.header-title h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.header-title p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.model-selector select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: all 0.2s;
}

.model-selector select:hover {
    background: var(--bg-tertiary);
}

.model-selector select:focus {
    border-color: var(--accent);
}

/* Agent Mode Button */
.agent-mode-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
}

.agent-mode-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #d4af37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.agent-mode-btn i {
    font-size: 1.125rem;
}

/* Hide Agent Mode Button on Mobile */
@media (max-width: 768px) {
    .agent-mode-btn {
        display: none !important;
    }

    .header-title {
        display: none !important;
    }

    #toggle-sidebar-btn {
        display: none !important;
    }
}

/* ========== CHAT ========== */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
}

.messages-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.messages-area::-webkit-scrollbar {
    width: 8px;
}

.messages-area::-webkit-scrollbar-track {
    background: transparent;
}

.messages-area::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}

.messages-area::-webkit-scrollbar-thumb:hover {
    background: #b1b1b1;
}

/* Message Container - Enhanced Modern Style */
.message {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    animation: messageSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message.user {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.message.system {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.02) 0%, rgba(6, 182, 212, 0.02) 100%);
    border-bottom: 1px solid rgba(16, 163, 127, 0.08);
}

/* Message Wrapper with Avatar */
.message-wrapper {
    width: 100%;
    max-width: 52rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
}

/* Edit Button */
.message-edit-btn {
    position: absolute;
    left: -45px;
    top: 8px;
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-10px);
}

.message.user:hover .message-edit-btn {
    opacity: 1;
    transform: translateX(0);
}

.message-edit-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateX(0) scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.message-edit-btn:active {
    transform: translateX(0) scale(0.95);
}

@media (max-width: 768px) {
    .message-edit-btn {
        left: 5px;
        top: 5px;
        opacity: 1;
        transform: translateX(0);
    }
}

/* Avatar Styles - Enhanced */
.message-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.message-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 13px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.message-avatar:hover::before {
    opacity: 1;
}

.message.user .message-avatar {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.message.user .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message.system .message-avatar {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    border-radius: 0;
}

.message.system .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    border-radius: 0;
}

.message-avatar:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

/* Message Content - Enhanced */
.message-content {
    flex: 1;
    line-height: 1.8;
    font-size: 1.0rem;
    /* Adjusted to match user preference */
    color: var(--text-primary);
    min-width: 0;
    padding: 0.5rem 0;
}

.message.user .message-content {
    font-weight: 500;
}

.message.system .message-content {
    font-weight: 400;
}

/* Message Text */
.message-text {
    margin-bottom: 0.5rem;
}

.message-text p {
    margin-bottom: 1rem;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text ul,
.message-text ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.message-text li {
    margin-bottom: 0.5rem;
}

.message-text h1,
.message-text h2,
.message-text h3,
.message-text h4,
.message-text h5,
.message-text h6 {
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
    color: var(--text-primary);
}

.message-text h1 {
    font-size: 2rem;
}

.message-text h2 {
    font-size: 1.75rem;
}

.message-text h3 {
    font-size: 1.5rem;
}

.message-text h4 {
    font-size: 1.25rem;
}

.message-text h5 {
    font-size: 1.125rem;
}

.message-text h6 {
    font-size: 1rem;
}

.message-text blockquote {
    border-right: 4px solid var(--accent);
    padding: 0.75rem 1.25rem;
    margin: 1rem 0;
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.message-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.message-text a:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

.message-text strong {
    font-weight: 700;
    color: var(--text-primary);
}

.message-text em {
    font-style: italic;
    color: var(--text-secondary);
}

/* Message Actions - Enhanced */
.message-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-5px);
}

.message:hover .message-actions {
    opacity: 1;
    transform: translateY(0);
}

.message-action-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.message-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.message-action-btn:hover::before {
    width: 200px;
    height: 200px;
}

.message-action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.message-action-btn i {
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.message-action-btn:hover i {
    transform: scale(1.1);
}

/* Code Blocks - Enhanced Terminal Design */
.code-block-wrapper {
    margin: 1.5rem 0;
    border-radius: 12px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.1);
    width: 100%;
    max-width: 100%;
    will-change: auto;
    contain: layout style paint;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.code-block-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.code-block-header {
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}

.code-block-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
}

.code-lang {
    font-size: 0.75rem;
    color: #d4af37;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Consolas', monospace;
}

.code-actions {
    display: flex;
    gap: 0.5rem;
}

.copy-btn,
.download-btn,
.preview-code-btn,
.open-code-btn {
    background: #2a2a2a;
    border: 1px solid transparent;
    color: #888;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Consolas', monospace;
    position: relative;
    overflow: hidden;
}

.copy-btn::before,
.download-btn::before,
.preview-code-btn::before,
.open-code-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s;
}

.copy-btn:hover::before,
.download-btn:hover::before,
.preview-code-btn:hover::before,
.open-code-btn:hover::before {
    left: 100%;
}

.copy-btn:hover,
.download-btn:hover,
.preview-code-btn:hover,
.open-code-btn:hover {
    background: #3a3a3a;
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.code-block-content {
    padding: 1.5rem;
    overflow-x: auto;
    overflow-y: auto;
    direction: ltr;
    text-align: left;
    background: #0a0a0a;
    min-height: 100px;
    max-height: 500px;
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
}

.code-block-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-block-content::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.code-block-content::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

.code-block-content::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.code-block-content code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    color: #e0e0e0;
    line-height: 1.6;
    display: block;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
}

.code-block-content pre {
    margin: 0;
    padding: 0;
}

/* Additional Code Block Enhancements */
.code-block-wrapper pre {
    margin: 0;
    background: transparent;
}

.code-block-content .hljs {
    background: transparent;
    padding: 0;
}

/* Success animation for copy button */
@keyframes copy-success {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.copy-btn.copied,
.download-btn.copied,
.preview-code-btn.copied {
    background: #d4af37 !important;
    color: #ffffff !important;
    border-color: #d4af37 !important;
    animation: copy-success 0.4s ease;
}


/* Highlight.js Theme Overrides for Better Look */
.code-block-content code.hljs {
    background: transparent;
    padding: 0;
    color: #e5e5e5;
}

/* Enhanced syntax colors matching professional AI tools */
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in {
    color: #ff79c6;
    /* Pink for keywords */
}

.hljs-string,
.hljs-attr {
    color: #50fa7b;
    /* Green for strings */
}

.hljs-number,
.hljs-literal {
    color: #bd93f9;
    /* Purple for numbers */
}

.hljs-comment {
    color: #6272a4;
    /* Gray for comments */
    font-style: italic;
}

.hljs-function,
.hljs-title {
    color: #8be9fd;
    /* Cyan for functions */
}

.hljs-variable,
.hljs-name {
    color: #f8f8f2;
    /* White for variables */
}

.hljs-tag {
    color: #ff79c6;
    /* Pink for HTML tags */
}

.hljs-operator,
.hljs-punctuation {
    color: #f8f8f2;
    /* White for operators */
}

.hljs-class .hljs-title {
    color: #f1fa8c;
    /* Yellow for class names */
}

.hljs-meta {
    color: #ff79c6;
    /* Pink for meta tags */
}

p code {
    background: var(--bg-secondary);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.875em;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* Typing Indicator - Enhanced */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(244, 208, 63, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.typing-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }

    30% {
        transform: translateY(-12px) scale(1.2);
        opacity: 1;
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
    }
}

/* Searching Indicator */
.searching-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--accent);
    font-size: 0.9375rem;
    font-weight: 500;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.searching-indicator i {
    font-size: 1.125rem;
}

/* ========== INPUT AREA ========== */
.input-area {
    padding: 1rem 1.5rem 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.toggle-preview-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    transition: background 0.2s;
}

.toggle-preview-btn:hover {
    background: var(--accent-hover);
}

.image-preview-container {
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.image-preview-container img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    max-width: 90%;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0.625rem 1rem;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 1rem;
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent);
}

#chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.375rem 0.5rem;
    font-size: 1.125rem;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 150px;
    line-height: 1.5;
}

#chat-input::placeholder {
    color: var(--text-secondary);
}

#send-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}

#send-btn:hover {
    background: var(--accent-hover);
}

#send-btn:active {
    transform: scale(0.95);
}

#send-btn:disabled {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Image Skeleton */
.image-skeleton {
    width: 400px;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.skeleton-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-secondary);
}

.skeleton-text i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}

.image-download-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.image-download-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 0.5rem;
    right: 0.75rem;
    z-index: 1500;
    background: var(--accent);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--accent-hover);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        z-index: 2000;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        width: 100%;
    }

    .section-header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header-title h2 {
        font-size: 1rem;
    }

    .header-title p {
        font-size: 0.75rem;
    }

    .model-selector select {
        font-size: 0.8125rem;
        padding: 0.375rem 0.5rem;
    }

    .message {
        padding: 1.5rem 1rem;
    }

    .message-wrapper {
        gap: 1rem;
        max-width: 100%;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .message-content {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .message-text h1 {
        font-size: 1.5rem;
    }

    .message-text h2 {
        font-size: 1.25rem;
    }

    .message-text h3 {
        font-size: 1.125rem;
    }

    .message-text h4 {
        font-size: 1rem;
    }

    .message-actions {
        flex-wrap: wrap;
        opacity: 1;
    }

    .message-action-btn {
        font-size: 0.75rem;
        padding: 0.3125rem 0.625rem;
    }

    .code-block-wrapper {
        margin: 1rem 0;
    }

    .code-block-header {
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .code-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .copy-btn,
    .download-btn,
    .preview-code-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .code-block-content code {
        font-size: 0.8125rem;
    }

    .input-area {
        padding: 0.75rem 1rem 1rem;
    }

    .input-wrapper {
        border-radius: 10px;
        padding: 0.375rem;
    }

    #chat-input {
        font-size: 0.875rem;
        padding: 0.375rem;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    #send-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .image-skeleton {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .toggle-preview-btn {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }

    .image-preview-container img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* ========== PREVIEW PANEL ========== */
.preview-panel {
    position: fixed;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100vh;
    background: var(--bg-primary);
    border-right: 1px solid var(--border);
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.preview-panel.active {
    left: 0;
}

.preview-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.close-preview-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.close-preview-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.preview-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #ffffff;
}

.main-content.preview-active {
    margin-left: 60%;
    transition: margin-left 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #212121;
        --bg-secondary: #2f2f2f;
        --bg-tertiary: #3d3d3d;
        --text-primary: #ececec;
        --text-secondary: #b4b4b4;
        --border: #3d3d3d;
        --user-bg: #2f2f2f;
        --ai-bg: #212121;
    }

    .sidebar {
        background: #171717;
        border-right: 1px solid #3d3d3d;
    }

    .message.user {
        background: var(--bg-secondary);
    }

    .message.system {
        background: var(--bg-primary);
    }
}

@media (max-width: 768px) {
    .preview-panel {
        width: 100%;
        left: -100%;
    }

    .preview-panel.active {
        left: 0;
    }

    .main-content.preview-active {
        margin-left: 0;
        display: none;
    }
}

/* ========== PROFESSIONAL AUTH DESIGN ========== */
.auth-screen {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0d0d0d;
    font-family: 'Tajawal', sans-serif !important;
}

.auth-split {
    display: flex;
    height: 100vh;
}

.auth-visual {
    width: 45%;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    display: none;
}

@keyframes breathe {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.visual-content {
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: contentFadeIn 1s ease-out;
    background: transparent !important;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.horus-eye {
    margin-bottom: 2rem;
}

.horus-eye-img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.5));
    animation: horusFloat 3s ease-in-out infinite;
}

@keyframes horusFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.eye-outer {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #10a37f 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(16, 163, 127, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

.eye-outer::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #10a37f, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(16, 163, 127, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 60px rgba(16, 163, 127, 0.5);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.eye-inner {
    font-size: 4rem;
    color: white;
}

.visual-title {
    font-size: 4rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: transparent !important;
    font-family: 'Tajawal', sans-serif !important;
}

.visual-desc {
    font-size: 1.125rem;
    color: #d4af37;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 400;
    background: transparent !important;
    font-family: 'Tajawal', sans-serif !important;
}

.visual-stats {
    display: none;
}

.stat {
    display: none;
}

.stat-num {
    display: none;
}

.stat-label {
    display: none;
}

.visual-features {
    display: none;
}

.feature {
    display: none;
}

.auth-panel {
    width: 55%;
    background: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: visible;
}

.auth-panel .panel-content {
    width: 100%;
    max-width: 420px;
}

.auth-panel .panel-content>div {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.signup-scroll {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-top: 2.5rem;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.signup-scroll::-webkit-scrollbar {
    width: 4px;
}

.signup-scroll::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.panel-header {
    margin-bottom: 2rem;
    background: transparent !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: none !important;
    position: relative;
    z-index: 2;
    height: auto !important;
}

.header-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.panel-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: transparent !important;
    line-height: 1.6;
    padding-top: 1.5rem;
    border: none !important;
    text-decoration: none !important;
    font-family: 'Tajawal', sans-serif !important;
}

.panel-header p {
    font-size: 0.9375rem;
    color: #8e8e8e;
    background: transparent !important;
    max-width: 80%;
    line-height: 1.5;
    margin-bottom: 0;
    padding-bottom: 0;
    font-family: 'Tajawal', sans-serif !important;
}

/* Modern Form Styles */
.input-modern {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.input-modern label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ececec;
    margin-bottom: 0.75rem;
    background: transparent;
    font-family: 'Tajawal', sans-serif !important;
}

.input-modern input,
.input-modern select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif !important;
    font-size: 0.9375rem;
    color: #ffffff;
    background: #0d0d0d;
    outline: none;
    transition: all 0.2s;
    height: 48px;
}

.input-modern input:focus,
.input-modern select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.input-modern input::placeholder {
    color: #666;
    font-family: 'Tajawal', sans-serif !important;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-left: 45px;
}

.toggle-password {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--accent);
}

.toggle-password i {
    pointer-events: none;
}

.phone-modern {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.phone-modern .input-modern {
    margin-bottom: 0;
}



.country-selector-btn {
    width: 100%;
    padding: 0 1rem;
    height: 48px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    background: #0d0d0d;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-family: 'Tajawal', sans-serif !important;
}

.country-selector-btn:hover {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.country-selector-btn i {
    font-size: 0.75rem;
    color: #8e8e8e;
}

/* Remember Me & Forgot Password */
.remember-row {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Forgot Password Link */
.forgot-password-link {
    background: transparent;
    border: none;
    color: var(--horus-gold, #d4af37);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    font-family: inherit;
}

.forgot-password-link:hover {
    color: #f4d03f;
    text-decoration: underline;
}

/* Reset Password Screen */
.reset-desc {
    color: #8e8e8e;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.switch-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.switch-modern input {
    display: none;
}

.slider-modern {
    width: 44px;
    height: 24px;
    background: #2a2a2a;
    border-radius: 24px;
    position: relative;
    transition: all 0.2s;
}

.slider-modern::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #555;
    border-radius: 50%;
    top: 3px;
    right: 3px;
    transition: all 0.2s;
}

.switch-modern input:checked+.slider-modern {
    background: var(--accent);
}

.switch-modern input:checked+.slider-modern::before {
    background: white;
    transform: translateX(-20px);
}

.switch-label {
    font-size: 0.875rem;
    color: #8e8e8e;
    font-family: 'Tajawal', sans-serif !important;
}



/* Primary Button Glow */
.btn-modern {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-family: 'Tajawal', sans-serif !important;
    margin-top: 1.5rem;
}

.btn-modern:hover {
    background: var(--accent-hover);
}

.btn-modern i {
    font-size: 0.875rem;
}

/* Secondary Button Outline */
.btn-secondary-outline {
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    border: 1px solid #333;
    border-radius: 12px;
    color: #ececec;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 1rem;
}

.btn-secondary-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

/* Footer Links */
.panel-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.panel-footer p {
    font-size: 0.875rem;
    color: #8e8e8e;
    font-family: 'Tajawal', sans-serif !important;
}

.link-modern {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif !important;
    transition: color 0.2s;
}

.link-modern:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.link-subtle {
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif !important;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.link-subtle:hover {
    color: #ececec;
}

/* Verification Specific */
.verification-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2.5rem 0;
    direction: ltr;
    /* Ensure inputs flow left-to-right for numbers */
    position: relative;
    z-index: 5;
}

.otp-input {
    width: 55px;
    height: 65px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #0d0d0d;
    color: #ffffff;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Tajawal', sans-serif !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.otp-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 8px 16px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    background: #151515;
}

.otp-input:not(:placeholder-shown) {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.highlight-text {
    color: var(--accent);
    font-weight: 700;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif !important;
    display: inline-block;
    margin-top: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Primary Glow Button for Verification */
.btn-primary-glow {
    width: 100%;
    height: 54px;
    padding: 0 1rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Tajawal', sans-serif !important;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-primary-glow i {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.5rem;
        border-radius: 8px;
    }

    .verification-container {
        gap: 0.5rem;
        margin: 2rem 0;
    }

    .auth-panel .panel-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 900px) {
    .auth-visual {
        display: none;
    }

    .gradient-orb,
    .particles {
        display: none;
    }

    .auth-panel {
        width: 100%;
    }
}

.app-container {
    animation: fadeIn 0.6s ease-out;
}

/* ========== CODE MODAL ========== */
.code-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.code-modal.active {
    opacity: 1;
}

.code-modal-content {
    background: #0a0a0a;
    border-radius: 8px;
    width: 100%;
    max-width: 1200px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    border: 1px solid #2a2a2a;
}

.code-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    border-radius: 8px 8px 0 0;
}

.code-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10a37f;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Consolas', monospace;
}

.code-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-modal-download {
    background: #2a2a2a;
    border: none;
    color: #888;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    transition: all 0.15s ease;
}

.code-modal-download:hover {
    background: #3a3a3a;
    color: #10a37f;
}

.code-modal-edit {
    background: #2a2a2a;
    border: none;
    color: #888;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    transition: all 0.15s ease;
}

.code-modal-edit:hover {
    background: #3a3a3a;
    color: #10a37f;
}

.code-modal-preview {
    background: #2a2a2a;
    border: none;
    color: #888;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    transition: all 0.15s ease;
}

.code-modal-preview:hover {
    background: #3a3a3a;
    color: #10a37f;
}

.code-modal-project {
    background: #2a2a2a;
    border: none;
    color: #888;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    transition: all 0.15s ease;
}

.code-modal-project:hover {
    background: #3a3a3a;
    color: #10a37f;
}

.code-editor {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
}

.code-editor code {
    display: block;
    min-height: 100%;
    outline: none;
}

.code-modal-close {
    background: #2a2a2a;
    border: none;
    color: #888;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.code-modal-close:hover {
    background: #3a3a3a;
    color: #10a37f;
}

.code-modal-body {
    flex: 1;
    overflow: auto;
    padding: 1.5rem;
    background: #0a0a0a;
    border-radius: 0 0 8px 8px;
    direction: ltr;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
}

.code-modal-body pre {
    margin: 0;
    background: transparent;
}

.code-modal-body code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e0e0e0;
    display: block;
    white-space: pre;
    word-wrap: normal;
}

.code-modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-modal-body::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.code-modal-body::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

.code-modal-body::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.code-editor::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-editor::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.code-editor::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

.code-editor::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.code-editor[contenteditable="true"] {
    cursor: text;
}

.code-editor[contenteditable="true"] code {
    cursor: text;
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .code-modal {
        padding: 1rem;
    }

    .code-modal-content {
        max-height: 90vh;
        border-radius: 8px;
    }

    .code-modal-header {
        padding: 0.75rem 1rem;
        border-radius: 8px 8px 0 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .code-modal-title {
        font-size: 0.875rem;
        flex: 1;
        min-width: 150px;
    }

    .code-modal-actions {
        gap: 0.375rem;
    }

    .code-modal-download {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .code-modal-download span {
        display: none;
    }

    .code-modal-close {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .code-modal-body {
        padding: 1rem;
        border-radius: 0 0 8px 8px;
    }

    .code-modal-body code {
        font-size: 0.875rem;
    }
}

/* ========== SMART PREVIEW INDICATOR ========== */
.smart-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #10a37f 0%, #06b6d4 100%);
    color: #ffffff;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.smart-preview-badge i {
    font-size: 0.75rem;
    animation: rotate-icon 3s linear infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(16, 163, 127, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 16px rgba(16, 163, 127, 0.6);
        transform: scale(1.05);
    }
}

@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Multi-file indicator in code header */
.code-block-header .file-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(16, 163, 127, 0.15);
    color: #10a37f;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.code-block-header .file-count i {
    font-size: 0.75rem;
}

/* Preview button enhancement */
.preview-code-btn.smart-preview {
    background: linear-gradient(135deg, #10a37f 0%, #06b6d4 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.preview-code-btn.smart-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.preview-code-btn.smart-preview:hover {
    background: linear-gradient(135deg, #0d8c6f 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
}

/* ========== SMART PREVIEW NOTIFICATION ========== */
.smart-preview-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1a1a1a;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
    z-index: 10001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.smart-preview-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.smart-preview-notification i {
    font-size: 1.25rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .smart-preview-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}



/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0d0d0d;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: loaderSpin 2s linear infinite reverse;
}

.loader-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(16, 163, 127, 0.1);
}

.balance-card:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.balance-icon {
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #d4af37;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.balance-info {
    flex: 1;
    min-width: 0;
}

.balance-label {
    font-size: 0.6875rem;
    color: #8e8e8e;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.balance-amount {
    font-size: 0.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    direction: ltr;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Thinking Indicator */
.thinking-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #d4af37;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* إخفاء الحدود والخلفية لرسالة التفكير */
.message.thinking-message {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
}

.message.thinking-message .message-wrapper {
    border: none !important;
}

.thinking-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.thinking-dots span {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    animation: thinkingBounce 1.4s infinite;
}

.thinking-dots span:nth-child(1) {
    animation-delay: 0s;
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes thinkingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Country Selector Button */
.country-selector-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    background: #0d0d0d;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    font-size: 0.9375rem;
}

.country-selector-btn:hover {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.country-selector-btn i {
    font-size: 0.75rem;
    color: #8e8e8e;
}

/* Country Modal */
.country-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.country-modal.active {
    display: flex;
}

.country-modal-content {
    background: #0d0d0d;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.country-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.country-modal-header i {
    color: #d4af37;
}

.country-modal-close {
    background: transparent;
    border: none;
    color: #8e8e8e;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.country-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.country-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #0a0a0a;
}

.country-search i {
    color: #8e8e8e;
    font-size: 0.875rem;
}

.country-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.9375rem;
    outline: none;
    font-family: inherit;
}

.country-search input::placeholder {
    color: #666;
}

.country-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.country-list::-webkit-scrollbar {
    width: 6px;
}

.country-list::-webkit-scrollbar-track {
    background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.country-item {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ececec;
    font-size: 0.9375rem;
}

.country-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.country-item.selected {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-weight: 600;
}


/* ========== ENHANCED VISUAL SIDE ========== */
.visual-bg {
    display: none;
}

.gradient-orb,
.orb-1,
.orb-2,
.orb-3,
.particles {
    display: none;
}

.eye-middle {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-glow {
    display: none;
}

.visual-stats {
    display: none;
}

.stat {
    display: none;
}

.stat-icon {
    display: none;
}

.stat-num {
    display: none;
}

.stat-label {
    display: none;
}

.visual-features {
    display: none;
}

.feature {
    display: none;
}

.feature-icon {
    display: none;
}

.feature-text h4 {
    display: none;
}

.feature-text p {
    display: none;
}

/* ========== VERIFICATION SCREEN ========== */
/* Removed old verification styles as they are replaced by .otp-input and .verification-container above */