/* Font Face */


/* Main Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(20, 21, 21, 0.65);  /* Matches #141515 with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

/* Subtle noise texture for realism */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        to bottom,
        rgba(118, 238, 232, 0.048) 0%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Body Spacing */
body {
    padding-top: 80px;
}

/* Container */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 16px;
    font-weight: 430;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Center Navigation */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

/* Navigation Buttons */
.nav-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nav-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-button.active {
    color: #ffffff;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-button {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transform: translateX(-50%) scaleY(0.8) translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1) translateY(0);
}

.dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: block;
}

.dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-display {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 430;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.api-button {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 8px 16px;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.api-button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.alert-button {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.alert-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    width: 36px;  /* Reduced from 40px */
    height: 36px;  /* Reduced from 40px */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    fill: #ffffff;
}

.sidebar-toggle svg {
    width: 20px;  /* Smaller icon */
    height: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        height: 52px;
        background: linear-gradient(
            180deg,
            rgba(15, 15, 15, 0.82) 0%,
            rgba(10, 10, 10, 0.75) 100%
        );
    }
    
    body {
        padding-top: 65px;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .nav-button {
        font-size: 14px;
        padding: 7px 12px;
        font-weight: 500;
    }
    
    .nav-button:nth-child(3) {
        display: none;
    }
    
    .nav-right {
        gap: 8px;
    }
    
    .time-display {
        display: none;
    }
    
    .api-button,
    .alert-button {
        font-size: 13px;
        padding: 7px 12px;
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        left: 0;
        transform: translateX(0);
        right: 0;
        margin: 0 10px;
    }
    
    .dropdown.open .dropdown-menu {
        transform: translateX(0) scaleY(1) translateY(0);
    }
    
    .dropdown-item {
        font-size: 14px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .nav-center {
        gap: 4px;
    }
    
    .nav-button {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .api-button {
        display: none;
    }
    
    .alert-button {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Modal Styles (for Submit Info) - included for completeness */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.397);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal {
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    min-width: 400px;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.submission-types {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.type-button {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(0);
}

.type-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.type-button.selected {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    color: #ffffff;
    transform: scale(1.02);
}

.type-button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.type-button:hover svg {
    transform: scale(1.1);
}

.form-content {
    display: none;
}

.form-content.show {
    display: block;
}

.privacy-notice {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.form-input:focus {
    outline: none;
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 0.5;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.optional-tag {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    margin-left: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'AnthropicSans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 430;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-submit {
    background: #ffffff;
    border: none;
    color: #000000;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.loading {
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #000;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

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

.success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    color: #00ff00;
    opacity: 0;
    animation: successFade 2s ease forwards;
}

@keyframes successFade {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}   




/* Mobile adjustments */
@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex !important;
    }
    
    /* Hide alerts button on mobile */
    .alert-button {
        display: none !important;
    }
    
    /* Adjust API button size to match */
    .api-button {
        font-size: 13px;
        padding: 6px 12px;
        height: 36px;  /* Match sidebar toggle height */
    }
}