:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #ffffff;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-color);
    border-radius: 50%;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--secondary-color);
    border-radius: 50%;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: #ff007a;
    border-radius: 50%;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navbar */
.glass-nav {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #fce38a 0%, #f38181 100%);
    border: none;
    color: #333;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(243, 129, 129, 0.4);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 129, 129, 0.6);
    color: #333;
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Select Option Fix */
option {
    color: #333;
    background-color: white;
}

/* Bell Shake Animation */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-15deg);
    }

    45% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(5deg);
    }

    90% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
    display: inline-block;
}

/* Glass Dropdown */
.glass-dropdown {
    background: rgba(15, 15, 30, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    border-radius: 12px !important;
}

.glass-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.2s ease;
    background: transparent !important;
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.glass-dropdown .dropdown-header {
    color: rgba(255, 255, 255, 0.6);
}

.glass-dropdown .border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Chat Improvements */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

.chat-message:hover {
    transform: translateY(-2px);
}

.chat-message.self {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
    border: none;
}

.chat-message.other {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.chat-header {
    font-size: 0.75rem;
    margin-bottom: 4px;
    opacity: 0.8;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.chat-content {
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-attachment {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}