:root {
    --gold: #988f56;
    --blue-grey: #657e8b;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.authentication {
    display: flex;
    align-items: center;
    height: 100vh;
}

.authentication .auth_form {
    border-radius: 10px;
    background: #fafafa;
    border: 5px solid #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.02);
}

.authentication .auth_form .header {
    text-align: center;
    padding: 1rem 1rem 0;
}

.authentication .auth_form h5 {
    margin-top: 10px;
    margin-bottom: 0;
    color: #444;
}

.authentication .auth_form .body {
    background: transparent;
    padding: 1rem 1.25rem 1.25rem;
}

.authentication .auth_form .body .input-group-text {
    justify-content: center;
    min-width: 42px;
    background: #f5f5f5;
}

.authentication .auth_form .form-control {
    background: #f5f5f5;
    border-color: #ddd;
}

.btn-gold {
    color: #fff !important;
    background: var(--gold) !important;
    font-weight: 900 !important;
    width: 100%;
    border: none;
    padding: 10px 18px;
    text-transform: uppercase;
}

.btn-blue-grey {
    color: #fff !important;
    background: var(--blue-grey) !important;
    font-weight: 900 !important;
    border: none;
}

.copyright {
    margin-top: 1rem;
    color: #555;
    font-size: 0.9rem;
}

.copyright p {
    margin: 0.25rem 0 0;
}

.authentication a {
    color: #3498db;
    text-decoration: none;
}

.detail-page {
    background: #ececec;
    min-height: 100vh;
    margin: 0;
}

.detail-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: min(480px, 90vw);
}

.detail-status {
    margin-bottom: 1rem;
    color: #444;
    font-size: 1rem;
}

.detail-meta {
    margin-bottom: 0.35rem;
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
}

.detail-expires {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
}

.detail-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
}

.btn-detail-download {
    color: #fff !important;
    background: #28a745 !important;
}

.btn-detail-download:hover:not(:disabled),
.btn-detail-download:focus:not(:disabled) {
    color: #fff !important;
    background: #218838 !important;
}

.btn-logoff {
    color: #fff !important;
    background: #dc3545 !important;
    border: none;
}

.btn-logoff:hover,
.btn-logoff:focus {
    color: #fff !important;
    background: #c82333 !important;
}

.detail-actions .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media only screen and (max-width: 767px) {
    .authentication {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    .authentication .absolute-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
    }

    .authentication .copyright {
        margin-bottom: 20px;
    }
}
