body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    overflow: auto;
    padding-top: 20px;
    font-family: Inter, sans-serif;
    color: #000000;
        align-items: center;
        justify-content: flex-start;
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .no-scroll {
        overflow: auto;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('/static/Assets/Background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    backdrop-filter: blur(120px);
    -webkit-backdrop-filter: blur(120px);
    background: rgba(255, 255, 255, 0.04);
    z-index: -1;
}

html, body {
    height: 100%;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

h3 {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

p {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.navcontainer {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(15, 20, 30, 0.22), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 16px 24px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 40px;
}

.navlinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.navtoggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.navtoggle-label {
    font-size: 15px;
}

.navtoggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.navtoggle-bar {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.navcontainer a {
    color: #1f1b2e;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.2px;
    padding: 6px 10px; 
    line-height: 1;
    display: inline-block;
    border-radius: 12px;
    transition: background-color 0.2s ease, border-radius 0.2s ease;
}

.navcontainer a:hover {
    background-color: #5f5b70;
    text-decoration: none;
} 

.navcontainer a:visited {
    color: #1f1b2e;
}

@media (max-width: 768px) {
    .navcontainer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .navtoggle {
        display: flex;
    }

    .navlinks {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .navcontainer.open .navlinks {
        display: flex;
    }

    .navlinks a {
        padding: 10px 12px;
    }
}

.dashboard {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 32px rgba(15, 20, 30, 0.18), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-radius: 20px;
    padding: 24px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gradient-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: none;
    color: #000000;
}

.subtitle {
    margin: 6px 0 0;
    color: rgba(15, 23, 42, 0.7);
}

.search-form,
.upload-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-form input,
.upload-form input[type="text"],
.upload-form input[type="file"] {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #c7c2d6;
    background: #f3efffcc;
}

.search-form button,
.upload-form button {
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid #c7c2d6;
    background: #ffffff;
    color: #2b2b2b;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.search-form button:hover,
.upload-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.search-form button:active,
.upload-form button:active {
    transform: translateY(0);
}

.upload-form input[type="file"] {
    padding: 8px 12px;
    border-radius: 12px;
    background: #f3efffcc;
}

.upload-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #c7c2d6;
    background: #ede6ffcc;
    color: #2b2b2b;
    font-weight: 600;
    cursor: pointer;
}

.card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.meta {
    font-size: 12px;
    color: rgba(15, 23, 42, 0.6);
}

.table-wrap {
    overflow-x: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.leads-table th,
.leads-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.leads-table th {
    color: rgba(15, 23, 42, 0.8);
    font-weight: 600;
}

.empty-state {
    text-align: center;
    color: rgba(15, 23, 42, 0.6);
    padding: 20px 0;
}

.status {
    margin: 10px 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.status.success {
    background: rgba(16, 185, 129, 0.15);
    color: #0f766e;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.35);
}


