/* User menu styles */
.user-menu {
    display: block;
    position: relative;
}

/* Info icon styling */
.info-tooltip svg {
    transition: transform 0.2s ease, color 0.2s ease;
}

.info-tooltip {
    cursor: help;
    display: inline-flex;
    align-items: center;
}

.info-tooltip:hover svg {
    transform: scale(1.1);
    color: #0078d4 !important;
}

[data-theme="dark"] .info-tooltip:hover svg {
    color: #60a5fa !important;
}

.user-menu-button {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.user-menu-button:hover {
    background-color: var(--hover-bg);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    display: none;
}

.user-menu-dropdown.show {
    display: block;
}

.user-menu-item {
    padding: 8px 16px;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.user-menu-item:hover {
    background-color: var(--hover-bg);
    text-decoration: none;
    color: var(--text-color);
}

.user-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.auth-buttons .btn {
    padding: 6px 16px;
    font-weight: 500;
}

/* Additional styles for hero-controls to improve mobile compatibility */
.hero-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    z-index: 10;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    left: auto;
}

.hero-controls .d-flex {
    flex-wrap: nowrap;
}

/* Login required badge */
.login-required-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    margin-top: 12px;
    width: fit-content;
}

.login-required-badge svg {
    width: 14px;
    height: 14px;
}

[data-theme="dark"] .login-required-badge {
    background-color: rgba(var(--primary-color-rgb), 0.2);
}

/* Improved Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-blue-bg, rgba(164, 200, 234, 0.1)) 100%);
    border-radius: 24px;
    padding: 2rem;
    padding-top: 3.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.hero-main {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-blue, #0078d4) 0%, #2b5876 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    text-align: left;
}

.hero-main .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color, #2d3748);
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-highlight {
    background: var(--card-bg, white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.highlight-box {
    background: var(--light-blue-bg, rgba(164, 200, 234, 0.1));
    border-left: 4px solid var(--brand-blue, #0078d4);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
}

/* Dark mode support for hero section */
[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, var(--dark-card-bg, #2d2d2d) 0%, var(--dark-bg, #1a1a1a) 100%);
}

[data-theme="dark"] .hero-main h1 {
    background: linear-gradient(135deg, var(--light-blue, #60a5fa) 0%, #90cdf4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-main .lead {
    color: var(--dark-text, #f3f4f6);
}

[data-theme="dark"] .hero-highlight {
    background: var(--dark-card-bg, #2d2d2d);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .highlight-box {
    background: rgba(164, 200, 234, 0.05);
    border-left: 4px solid var(--brand-blue, #0078d4);
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Prompt formatting styles */
.prompt-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.prompt-section {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.prompt-label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

.prompt-text {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prompt-list {
    margin: 0.5rem 0 1rem 1.5rem;
    padding-left: 0;
}

.prompt-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Dark mode support for prompt formatting */
[data-theme="dark"] .prompt-title,
[data-theme="dark"] .prompt-label {
    color: var(--light-text, #f3f4f6);
}

[data-theme="dark"] .prompt-text,
[data-theme="dark"] .prompt-list li {
    color: var(--dark-text, #e2e8f0);
} 