* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0c1630;
    color: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header,
.panel-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(9, 17, 37, 0.92);
    backdrop-filter: blur(6px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: #2e5bff;
    color: #fff;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.25);
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 28px;
    padding: 52px 0 28px;
}

.hero-text h1 {
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.08;
    margin: 14px 0 18px;
}

.hero-text p,
.summary-text {
    color: #d5dced;
    font-size: 18px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #dce7ff;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-card,
.info-box,
.auth-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.hero-card {
    padding: 22px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.card-row:last-child {
    border-bottom: 0;
}

.section {
    padding: 24px 0;
}

.section h2 {
    font-size: 30px;
    margin: 0 0 18px;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.info-box {
    padding: 22px;
}

.info-box h3,
.info-box h1,
.info-box h2 {
    margin-top: 0;
}

.info-box ul {
    margin: 0;
    padding-left: 18px;
    color: #d5dced;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.timeline div {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.site-footer {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: #b9c3dd;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-box {
    width: min(520px, 100%);
    padding: 28px;
}

.auth-box.wide {
    width: min(640px, 100%);
}

.form-grid {
    display: grid;
    gap: 14px;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 15px;
}

input::placeholder,
textarea::placeholder {
    color: #b8c1d9;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.full {
    width: 100%;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.alert.error {
    background: rgba(255, 77, 109, 0.16);
    border: 1px solid rgba(255, 77, 109, 0.35);
}

.alert.success {
    background: rgba(54, 179, 126, 0.16);
    border: 1px solid rgba(54, 179, 126, 0.35);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: #c5d0ea;
}

.dashboard {
    padding: 30px 0;
    display: grid;
    gap: 20px;
}

.user-card p {
    margin-bottom: 0;
    color: #d5dced;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    overflow: hidden;
}

th, td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

th {
    background: rgba(255,255,255,0.08);
}

.status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status.new { background: rgba(255, 193, 7, 0.18); }
.status.in_progress { background: rgba(46, 91, 255, 0.22); }
.status.completed { background: rgba(54, 179, 126, 0.22); }

@media (max-width: 900px) {
    .hero,
    .grid.three,
    .grid.two,
    .timeline {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .nav,
    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
