:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #bc4e9c;
    --accent-2: #f80759;
    --bg-dark: #0a0b1e;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-2);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.2); }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.glitch-text {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 10s ease infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 242, 254, 0.3);
    transition: 0.3s;
}

.nav-logo:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 25px var(--primary), 0 0 50px rgba(0, 242, 254, 0.5);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 5rem;
}

.hero {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.main-card {
    max-width: 800px;
    margin: 0 auto;
}

/* Email Display */
/* Mode Toggle */
.mode-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 2rem;
    gap: 4px;
}

.mode-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-family: var(--font-body);
}

.mode-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

.email-display-container {
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.email-input-wrapper {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid var(--glass-border);
    align-items: stretch;
    gap: 8px;
}

.input-main-group {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0; /* Prevents overflow */
}

#email-address {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 12px 20px;
    outline: none;
    width: 100%;
    min-width: 0;
}

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

.custom-dropdown {
    position: relative;
    min-width: 180px;
    margin: 8px;
    user-select: none;
    z-index: 100;
}

.selected-option {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
}

.selected-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.selected-option i {
    font-size: 0.8rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--primary);
}

.custom-dropdown.active .selected-option i {
    transform: rotate(180deg);
}

.options-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    max-height: 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.custom-dropdown.active .options-container {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 8px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.dropdown-option.selected {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    font-weight: 700;
}

/* Scrollbar for dropdown */
.options-container::-webkit-scrollbar {
    width: 6px;
}
.options-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#qr-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 12px;
    width: 54px;
    margin-right: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

#qr-btn:hover {
    background: var(--secondary);
    color: var(--bg-dark);
}

#copy-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    width: 54px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(15px);
}

.modal-content {
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#qrcode {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin: 20px auto;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Premium Modal */
.premium-modal {
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

#prompt-message {
    margin-bottom: 2rem;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.5;
}

.prompt-input-container {
    position: relative;
    width: 100%;
    margin-bottom: 2.5rem;
}

#prompt-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

#prompt-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.btn-glow {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    border: none;
    padding: 12px 40px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.btn-minimal {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-minimal:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Email Message Card (Unified) */
.message-details {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 1rem;
}

.message-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000000;
}

.msg-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

#msg-body {
    margin-top: 2rem;
    min-height: 200px;
    overflow-x: auto;
    line-height: 1.7;
    border-top: 1px solid #eeeeee;
    padding-top: 2rem;
}

/* Force links in HTML emails to be visible */
#msg-body a {
    color: #2563eb !important;
    text-decoration: underline !important;
}

#msg-body img {
    max-width: 100%;
    height: auto;
}

#qr-email-text {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    word-break: break-all;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dim);
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--accent-2);
}

#copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Inbox Section */
.inbox-section {
    margin-top: 5rem;
}

.refresh-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.refresh-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s linear;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.inbox-header h2 {
    font-size: 2rem;
}

#mail-count {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.inbox-container {
    position: relative;
    min-height: 400px;
}

.inbox-list {
    display: grid;
    gap: 1rem;
}

.mail-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    animation: slideUp 0.5s ease-out;
}

.mail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.01);
}

.mail-info {
    flex: 1;
}

.mail-info h4 {
    color: var(--primary);
    margin: 0;
}

.mail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.mail-subject {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* OTP Highlight Card inside Message View */
.otp-highlight-card {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    border: 2px dashed var(--primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.otp-highlight-card span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.otp-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 10px;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.btn-copy-otp {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-state {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-dim);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

/* Message View */
.message-view {
    width: 100%;
    z-index: 10;
    animation: slideUp 0.4s ease-out;
}

.hidden {
    display: none !important;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.msg-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.msg-body {
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    animation: fadeInOut 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.notification i {
    font-size: 1.2rem;
}

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

/* Footer */
footer {
    padding: 4rem 5%;
    text-align: center;
    color: var(--text-dim);
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.social-links i {
    cursor: pointer;
    transition: 0.3s;
}

.social-links i:hover {
    color: var(--primary);
}

/* Additional Pages Styles */
.content-section {
    margin-top: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.api-doc {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.api-item code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--secondary);
    display: block;
    margin: 10px 0;
    word-break: break-all;
}

.method {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1rem;
    }

    .logo-container {
        justify-content: center;
    }

    .nav-links { 
        display: none; 
    }

    .hero {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .glitch-text {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1rem;
        margin: 0 auto;
    }

    .glass-card {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .email-input-wrapper { 
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.4);
    }

    .input-main-group {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    #email-address { 
        font-size: 1.2rem; 
        text-align: center;
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .domain-dropdown {
        width: 100%;
        margin: 0;
        height: 48px;
        text-align: center;
        font-size: 1rem;
    }

    .input-actions-group {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    #qr-btn, #copy-btn {
        flex: 1;
        max-width: 100%;
        height: 54px;
        margin: 0;
        border-radius: 14px;
    }

    .action-buttons { 
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1.1rem;
    }

    .inbox-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .history-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .history-chip {
        padding: 15px;
    }

    .history-chip-actions {
        opacity: 1;
        transform: none;
    }
}

/* History Section */
.history-section {
    margin-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-align: left;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.history-chip {
    padding: 12px 15px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.history-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.1);
    border-color: var(--primary);
}

.history-chip-main {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
}

.history-chip-info {
    display: flex;
    flex-direction: column;
}

.history-user {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.history-domain {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.history-chip-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
}

.history-chip:hover .history-chip-actions {
    opacity: 1;
    transform: translateX(0);
}

.icon-aura {
    width: 36px;
    height: 36px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

.history-chip:hover .icon-aura {
    background: rgba(0, 242, 254, 0.2);
    transform: rotate(-10deg) scale(1.1);
}

.modern-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
}

.action-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.history-chip-actions button {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-chip-actions button:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.btn-delete-history:hover {
    background: var(--accent-2) !important;
    color: white !important;
}

.empty-history {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: italic;
}
