* {
    margin: 0;
    padding: 0;
}

main {
    background: var(--background-color);
    min-height: calc(100vh - 85px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-card {

    background: var(--surface-color);
    width: 100%;
    max-width: 600px;

    border: 1px solid #E5E7EB;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    padding: 2.5rem;
}

.status-card h2 {
    color: #111827;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.status-description {
    color: #6B7280;
    font-size: 0.95rem;
}

.form-group label {
    color: #374151;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    color: #374151;
    border: 1px solid #D1D5DB;
    border-radius: .6rem;
    padding: .4rem .8rem;

}

.form-group input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;

}

.form-group input[type="text"] {
    color: #111827;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1rem;
}

.status-button {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn {
    width: 60%;
}

.status-result {
    display: none;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    border-radius: 1.2rem;
    padding: 1.3rem;
}

.status-header {
    margin-bottom: 1rem;
}

.status-header h3 {
    color: #16A34A;
    font-size: 1.3rem;
}

.status-header p {
    color: #6B7280;
}

.status-item span {
    display: block;
    color: #6B7280;
    font-size: .85rem;
    margin-bottom: .25rem;
}

.status-item strong {
    display: block;
    color: #111827;
    font-weight: 600;
}

.status-item {
    padding: .8rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.status-item:last-child {
    border-bottom: none;
}

.status-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.status-error .status-header h3 {
    color: #DC2626;
}


.allocation-details {
    border-top: 1px solid #E5E7EB;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.allocation-details .status-header {
    margin-bottom: 1.2rem;
}

.allocation-details .status-header h3 {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: .3rem;
}

.allocation-details .status-header p {
    color: #6B7280;
    font-size: .9rem;
    margin-bottom: 1.2rem;
}

.allocation-details .status-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.allocation-details .status-item {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: .8rem;
    padding: .9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-bottom: 0;
}

.allocation-details .status-item span {
    font-size: .8rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 0;
}

.allocation-details .status-item strong {
    font-size: 1.1rem;
    color: #111827;
}


/* ============================
   TABLET (max-width: 1024px)
============================ */
@media (max-width: 1024px) {

    .status-card {
        max-width: 90%;
    }

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

/* ============================
   MOBILE / SMALL TABLET (max-width: 768px)
============================ */
@media (max-width: 768px) {

    main {
        padding: 2rem 1rem;
        min-height: calc(100vh - 70px);
    }

    .status-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .status-card h2 {
        font-size: 1.6rem;
    }

    .btn {
        width: 100%;
    }

    .allocation-details .status-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* ============================
   MOBILE (max-width: 600px)
============================ */
@media (max-width: 600px) {

    .status-card {
        padding: 1.5rem 1.2rem;
        border-radius: 1rem;
    }

    .status-card h2 {
        font-size: 1.4rem;
    }

    .status-description {
        font-size: 0.85rem;
    }

    .allocation-details .status-details {
        grid-template-columns: 1fr;
    }

    .allocation-details .status-item {
        padding: 0.8rem;
    }

    .status-item strong {
        font-size: 1rem;
    }
}