* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 30px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    max-width: 750px;
    margin: 0 auto 30px;
    color: #cbd5e1;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.features {
    padding: 80px 0;
    background: #111827;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #1f2937;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #38bdf8;
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #111827);
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 430px;
    background: #1e293b;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.auth-box h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-box p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-box input {
    padding: 14px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    outline: none;
}

.full-width {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
}

.auth-switch a {
    color: #38bdf8;
}

.alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert.success {
    background: #14532d;
    color: #bbf7d0;
}

.alert.error {
    background: #7f1d1d;
    color: #fecaca;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #020617;
    padding: 30px 20px;
}

.sidebar-logo {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
    margin-bottom: 35px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu a {
    color: #cbd5e1;
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #38bdf8;
    color: #0f172a;
}

.dashboard-main {
    flex: 1;
    padding: 35px;
    background: #0f172a;
}

.topbar h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.topbar p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #1e293b;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card h3 {
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 16px;
}

.card p {
    font-size: 30px;
    font-weight: bold;
    color: #38bdf8;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-panel {
    background: #1e293b;
    padding: 30px;
    border-radius: 14px;
}

.dashboard-panel h2 {
    margin-bottom: 12px;
}

.dashboard-panel p {
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .dashboard-main {
        padding: 20px;
    }
}



.form-card,
.table-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    outline: none;
}

.full-span {
    grid-column: 1 / -1;
}

.form-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.table-responsive {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th,
.custom-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #334155;
}

.custom-table th {
    color: #38bdf8;
    font-size: 14px;
}

.custom-table td {
    color: #e2e8f0;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.empty-state p {
    margin-bottom: 20px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}



.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    color: #e2e8f0;
}

.result-section {
    background: #1e293b;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.result-section h2 {
    margin-bottom: 12px;
    color: #38bdf8;
}

.copy-box {
    background: #0f172a;
    border: 1px solid #334155;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.result-list {
    padding-left: 20px;
    color: #e2e8f0;
}

.result-list li {
    margin-bottom: 10px;
}

.action-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-links a {
    color: #38bdf8;
    font-weight: bold;
}

.action-links a:hover {
    text-decoration: underline;
}

input[type="file"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}