* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, #fff5b3 0%, #f4f6fa 35%);
    color: #1f2736;
    text-align: center;
    padding: 20px 14px;
    line-height: 1.45;
}

.container {
    max-width: 430px;
    margin: 0 auto;
}

.screen {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e7ebf0;
    box-shadow: 0 18px 45px rgba(22, 30, 45, 0.08);
    padding: 22px 18px 26px;
}

.screen-footer {
    margin-top: 18px;
    color: #98a2b8;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.beeline-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.logo {
    width: 95px;
    height: auto;
    display: block;
    position: relative;
    left: -3.5px !important;
}

.page-label {
    color: #74809a;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

h1 {
    font-size: 30px;
    margin: 8px 0 10px;
    color: #202838;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

p {
    color: #5c6880;
}

.subtitle {
    color: #5f6a7f;
    margin-bottom: 18px;
}

.card {
    background: #f6f8fc;
    border: 1px solid #e3e8f2;
    border-radius: 20px;
    padding: 20px 16px;
    margin: 20px 0;
}

.card-title {
    color: #212a3a;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-text {
    font-size: 14px;
    margin-bottom: 10px;
    color: #67728b;
}

.code-input {
    width: 100%;
    max-width: 220px;
    font-size: 34px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 14px 12px;
    border: 2px solid #ffd800;
    background: #fff;
    color: #283041;
    border-radius: 12px;
    margin: 8px 0 0;
    outline: none;
}

.code-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.code-input:focus {
    border-color: #f0c200;
    box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.25);
}

.btn-yellow {
    display: inline-block;
    background: #ffd800;
    color: #121212;
    font-weight: 700;
    font-size: 17px;
    padding: 13px 28px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-yellow:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 216, 0, 0.45);
}

.error {
    color: #cc324b;
    margin: 4px 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.mobile-hide {
    display: block;
}

.success-icon {
    font-size: 66px;
    color: #ffd800;
    margin: 2px 0 8px;
}

.big-text {
    font-size: 21px;
    margin: 8px 0;
    color: #4f5b74;
}

.small {
    color: #7a8498;
    margin-top: 16px;
    font-size: 14px;
}

.small a {
    color: #283041;
}

.muted {
    color: #9aa3b8;
    margin-top: 8px;
}

.codes-list {
    list-style: none;
    margin-top: 18px;
}

.code-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    padding: 12px 12px;
    margin-bottom: 10px;
    box-shadow: 0 6px 14px rgba(20, 35, 60, 0.05);
}

.code-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #283041;
}

.code-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.code-client {
    font-size: 12px;
    font-weight: 700;
    color: #6f7891;
}

.code-time {
    font-size: 13px;
    color: #6f7891;
    white-space: nowrap;
}

.code-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.btn-small {
    border: none;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-approve {
    background: #22c55e;
    color: #fff;
}

.btn-reject {
    background: #ef4444;
    color: #fff;
}

.status-ok {
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
}

.status-bad {
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
}

.empty-state {
    color: #667189;
}

.waiting-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #ffd800;
    box-shadow: 0 0 0 8px rgba(255, 216, 0, 0.25);
}

.error-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
}

@media (max-width: 420px) {
    h1 {
        font-size: 26px;
    }

    .logo {
        width: 84px;
    }

    .code-input {
        max-width: 200px;
        font-size: 30px;
    }

    .code-row {
        flex-direction: column;
        align-items: stretch;
    }

    .code-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .mobile-hide {
        display: none;
    }
}