/* Hide general header and footer to display full-screen linking page */
header, footer {
    display: none !important;
}

body {
    background-color: #3b66de !important;
}

main {
    height: 100vh !important;
    background-color: #3b66de !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    margin: 0 !important;
}

/* Central Card */
.linking-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 460px;
    padding: 2.5rem 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

/* Header Section */
.linking-header {
    margin-bottom: 2rem;
}

.linking-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800; /* Negrita */
    font-size: 1.85rem;
    color: #3b66de;
    letter-spacing: 0.5px;
    margin: 0;
}

.linking-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #8c9bba;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Inner Card Container */
.linking-inner-card {
    background-color: #f8fafd;
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
}

.linking-instruction {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #5d6d7e;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

/* QR Code Wrapper */
.qr-code-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.qr-code-border {
    border: 2px solid #3b66de;
    border-radius: 16px;
    padding: 0.6rem;
    background-color: #ffffff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.qr-code-border:hover {
    transform: scale(1.03);
}

.qr-code-border img {
    width: 170px;
    height: 170px;
    display: block;
}

/* Code Container */
.code-container {
    margin-top: 1rem;
}

.code-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #8c9bba;
    text-transform: capitalize;
    margin-bottom: 0.4rem;
}

.code-value-box {
    background-color: #eff3f8;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    display: inline-block;
    letter-spacing: 3px;
}

.code-value-box span {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: #3b66de;
}

/* Expiration Section */
.expiration-container {
    margin-top: 1rem;
}

.expiration-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.expiration-timer {
    color: #3b66de;
    font-weight: 800;
    font-size: 0.95rem;
    margin-left: 0.25rem;
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
