@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat Alternates", sans-serif;
}

html,
body {
    height: 100%;
    font-weight: 400;
    font-style: normal;
    background-color: #0d1117;
    color: rgb(255, 250, 235);
    overflow: hidden;
}

.app-container {
    display: flex;
    height: 100vh;
    position: relative;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    top: 80px;
    left: 80px;
    width: 384px;
    height: 384px;
    background: rgba(147, 51, 234, 0.15);
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    bottom: 80px;
    right: 80px;
    width: 384px;
    height: 384px;
    background: rgba(59, 130, 246, 0.15);
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    top: 50%;
    left: 25%;
    width: 384px;
    height: 384px;
    background: rgba(20, 184, 166, 0.1);
    animation: float 12s ease-in-out infinite;
}

.blob-4 {
    bottom: 25%;
    left: 50%;
    width: 384px;
    height: 384px;
    background: rgba(99, 102, 241, 0.1);
    animation: float 9s ease-in-out infinite reverse;
}

.sidebar {
    width: 60px;
    background: rgba(30, 41, 59, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px;
    border-radius: 15px;
    height: calc(100vh - 40px);
}

.sidebar:hover {
    width: 280px;
    background: rgba(30, 41, 59, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateX(5px);
}

.sidebar .logo-text,
.sidebar .conversations-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    white-space: nowrap;
}

.sidebar:hover .logo-text,
.sidebar:hover .conversations-section {
    opacity: 1;
    visibility: visible;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .conversations-section,
.sidebar.collapsed .header-actions {
    display: none;
}

.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 250, 235, 0.8);
    transition: all 0.3s ease;
    z-index: 20;
}

.sidebar.collapsed .sidebar-toggle svg {
    transform: rotate(180deg);
}

.sidebar.collapsed .bi-chevron-left {
    transform: rotate(180deg);
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copilot-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-weight: 600;
    color: rgb(255, 250, 235);
    font-size: 18px;
}

.header-actions {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.glass-button {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 36px;
    height: 36px;
    color: rgba(255, 250, 235, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.conversations-section {
    flex: 1;
    overflow-y: auto;
}

.conversations-content {
    padding: 12px;
}

.conversations-title {
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 250, 235);
    margin-bottom: 16px;
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.conversations-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.conversation-item {
    font-size: 14px;
    color: rgba(255, 250, 235, 0.7);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent;
    margin: 2px 0;
}

.conversation-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 250, 235);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-profile {
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.user-profile-content {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.user-profile-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.user-details {
    flex-grow: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow: hidden;
}

.user-info {
    white-space: nowrap;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 250, 235);
    margin-bottom: 2px;
}

.user-email {
    font-size: 12px;
    color: rgba(255, 250, 235, 0.7);
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.action-icon {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 250, 235, 0.8);
    margin: 2px 0;
}

.action-icon i {
    width: 32px;
    min-width: 32px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 250, 235);
    transform: translateX(3px);
}

.action-text {
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    white-space: nowrap;
}

.sidebar:hover .user-details,
.sidebar:hover .action-text {
    opacity: 1;
    visibility: visible;
}

.signout {
    color: #ef4444;
}

.signout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.main-content {
    font-weight: 400;
    font-style: normal;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transition: margin-left 0.3s ease;
    margin: 20px;
    margin-left: 0;
    background: rgba(30, 41, 59, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: calc(100vh - 40px);
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.greeting-section {
    text-align: center;
    margin-bottom: 32px;
}

.greeting-title {
    font-weight: 400;
    font-size: 50px;
    color: rgb(255, 250, 235);
    margin-bottom: 20px;
    line-height: 1.2;
}

.greeting-subtitle {
    font-size: 20px;
    color: rgba(255, 250, 235, 0.7);
}

.suggestions-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    width: 100%;
}

.suggestions-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.suggestions-row:first-child {
    width: 100%;
}

.suggestions-row:first-child .suggestion-button {
    max-width: calc((100% - 48px) / 5);
    flex: 1 1 0;
}

.suggestions-row:last-child {
    width: 90%;
    margin: 0 auto;
}

.suggestions-row:last-child .suggestion-button {
    max-width: calc((100% - 36px) / 4);
    flex: 1 1 0;
}

.suggestion-button {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 12px 24px;
    min-width: 140px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
    max-width: none;
    color: rgba(255, 250, 235, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    text-overflow: ellipsis;
    overflow: hidden;

}

.suggestion-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.suggestion-button:hover::before {
    left: 100%;
}

.suggestion-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgb(255, 250, 235);
    transform: scale(1.05);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.15);
}

.pill-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: rgba(255, 250, 235, 0.8);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.pill-button i {
    font-size: 14px;
}

.pill-button.active {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.4);
    color: rgb(167, 139, 250);
}

.pill-button.active i {
    color: rgb(167, 139, 250);
}

.input-area {
    padding: 24px;
}

.input-container {
    max-width: 1024px;
    margin: 0 auto;
}

.input-wrapper {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.input-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
}

.message-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 18px;
    color: rgb(255, 250, 235);
    padding: 8px 0;
}

.search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 250, 235, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.send-button i {
    font-size: 16px;
}

.input-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.disclaimer {
    font-size: 12px;
    color: rgba(255, 250, 235, 0.5);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.learn-more {
    color: #60a5fa;
    cursor: pointer;
    text-decoration: none;
}

.learn-more:hover {
    text-decoration: underline;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}