/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-actions div{
    display: flex;
    align-items: center;
    flex-direction: row;
}
.header-actions .menu-btn{
    margin-right: 10px;
}.header-actions .settings-btn{
    margin-left: 10px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1f1f1f;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #333;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: default;
}
.settings-icon{
    width: 24px;
    height: 24px;
}

.icon-btn:hover {
    background-color: rgba(0, 93, 199, 0.1);
    cursor: default;
}

.icon-btn svg {
    color: #333;
}




/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Notification Panel */
.notification-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 420px;
    max-width: calc(100vw - 40px);
    max-height: 600px;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 300;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.notification-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #f5f5f5;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notification-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: background 0.2s;
    position: relative;
}

.notification-item:hover {
    background: #fafafa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1f1f1f;
}

.notification-message {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.8rem;
    color: #999;
}

.notification-close-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-item:hover .notification-close-btn {
    opacity: 1;
}

.notification-close-btn:hover {
    background: #f0f0f0;
}

/* Menu Sidebar */
.menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 80vw;
    height: 100vh;
    background: #ffffff;
    border-right: 2px solid #333;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-sidebar.active {
    transform: translateX(0);
}

.menu-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.menu-item {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-size: 1rem;
    color: #333;
}

.menu-item:hover {
    background: #f5f5f5;
}

.menu-item svg {
    flex-shrink: 0;
}

.menu-item span {
    flex: 1;
}

.menu-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 0 1.5rem;
}

.quick-actions {
    padding: 1rem 0;
}

.quick-actions-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
    padding: 0 1.5rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .notification-panel {
        top: 70px;
        right: 10px;
        width: calc(100vw - 20px);
    }

    .menu-sidebar {
        width: 280px;
    }
}
/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Landing State */
.landing-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.logo-container {
    width: 180px;
    height: 180px;
    border: 2px solid #333;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: #ffffff;
    position: relative;
}

.logo-container::before,
.logo-container::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-radius: 50%;
    background: #ffffff;
}

.logo-container::before {
    top: -6px;
    right: -6px;
}

.logo-container::after {
    bottom: -6px;
    left: -6px;
}

.atlas-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.landing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.landing-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 400px;
}

.quote {
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.quote-author {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Card Base Styles */
.card {
    background: #ffffff;
    border: 1.5px solid #333;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f1f1f;
}

.card-title svg {
    flex-shrink: 0;
}

/* Weather Card */
.weather-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.weather-location {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.weather-temp-container {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
}

.weather-temp {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #1f1f1f;
}

.weather-unit {
    font-size: 1.5rem;
    color: #666;
    margin-top: 0.5rem;
}

.weather-icon-container {
    width: 60px;
    height: 60px;
    border: 2px solid #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
}

.weather-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 1rem 0;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    font-size: 0.95rem;
}

.weather-detail-row svg {
    flex-shrink: 0;
}

.weather-detail-row span:last-child {
    margin-left: auto;
    font-weight: 600;
    color: #1f1f1f;
}

.weather-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Email Card */
.email-card .email-from {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.email-card .email-preview {
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.email-card .email-time {
    font-size: 0.85rem;
    color: #999;
}

/* Calendar Card */
.calendar-card .event-time {
    font-size: 1rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-card .event-location {
    font-size: 0.9rem;
    color: #666;
}

/* Task Card */
.task-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.95rem;
}

.task-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #2563eb;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Note Card */
.note-card .note-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.note-card .note-timestamp {
    font-size: 0.85rem;
    color: #999;
}

/* Response Container */
.response-container {
    max-width: 800px;
    margin: auto auto 0 auto;
    width: 100%;
}

.message-bubble {
    background: #ffffff;
    border: 1.5px solid #333;
    border-radius: 16px;
    padding: 1.5rem;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.atlas-icon {
    flex-shrink: 0;
}

.message-sender {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.message-text {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Input Container */
.input-container {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.input-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.input-field:focus {
    border-color: #2563eb;
}

.input-field::placeholder {
    color: #999;
}

.send-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.send-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }

    .main-content {
        padding: 1.5rem 1rem 1rem;
    }

    .logo-container {
        width: 150px;
        height: 150px;
    }

    .atlas-logo {
        width: 60px;
        height: 60px;
    }

    .landing-title {
        font-size: 2rem;
    }

    .landing-description {
        font-size: 0.95rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .card {
        padding: 1.25rem;
    }

    .weather-temp {
        font-size: 3rem;
    }

    .input-container {
        padding: 1rem;
    }

    .input-field {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .send-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 1.75rem;
    }

    .weather-temp {
        font-size: 2.5rem;
    }

    .card-title {
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: #b1b1b1;
}