﻿/* ===================== */
/*     BASE STYLES       */
/* ===================== */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa;
    color: #333;
}

.page-banner {
    background: linear-gradient(90deg, #004b93 0%, #258cfb 100%);
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

main.content {
    padding: 20px;
}

/* ===================== */
/*        CARDS          */
/* ===================== */

.card-container {
    background: #ffffff;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.result-card {
    border-left-width: 6px;
    border-left-style: solid;
}

/* ===================== */
/*        TYPOGRAPHY     */
/* ===================== */

.highlight-text {
    color: #258cfb;
    font-size: 26px;
    margin-top: 0;
    text-align: center;
}

.default-text {
    font-weight: bold;
    font-size: 18px;
    color: darkorange;
    margin-bottom: 15px;
}

/* ===================== */
/*       BUTTONS         */
/* ===================== */
.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    color: #fff;
    background-color: #1b6ec2;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

    .btn-primary:hover {
        background-color: #155a9a;
        transform: translateY(-2px);
    }

/* ===================== */
/*     RESULT INFO       */
/* ===================== */

.info-line {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

    .info-line .label {
        font-weight: 700;
        color: #004b93;
        min-width: 110px;
        letter-spacing: 0.5px;
    }

    .info-line .value {
        font-weight: 700;
        font-size: 15px;
        color: #333;
        word-break: break-word;
    }

.actions {
    margin-top: 25px;
    text-align: center;
}

.id .value {
    font-family: monospace;
    color: #555;
}

.signature .value {
    opacity: 0.8;
    font-size: 14px;
}

/* ===================== */
/*   RESPONSIVE LAYOUT   */
/* ===================== */

@media (max-width: 768px) {

    .page-banner {
        font-size: 22px;
        padding: 15px;
    }

    .card-container {
        margin: 15px;
        padding: 20px;
        max-width: 100%;
        border-radius: 10px;
        text-align: center;
    }

    h1.highlight-text {
        font-size: 22px;
        text-align: center;
    }

    .info-line {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 15px;
    }

        .info-line .label {
            min-width: auto;
            font-size: 14px;
        }

        .info-line .value {
            font-size: 14px;
        }

    .btn-primary {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .actions {
        text-align: center;
    }
}

/* Ultra-small screens */
@media (max-width: 480px) {

    .page-banner {
        font-size: 20px;
        padding: 12px;
    }

    .card-container {
        padding: 15px;
        margin: 10px;
    }

    h1.highlight-text {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
    }

    .default-text {
        font-size: 16px;
        text-align: center;
    }

    .info-line {
        margin: 8px 0;
    }

    .btn-primary {
        font-size: 15px;
        padding: 0.7rem 1rem;
    }
}
