﻿/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: normal;
}


/* =========================================
   MAIN PAGE
========================================= */

.secret-code-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* =========================================
   BACKGROUND
========================================= */

.page-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/glassclad-skyscrapers-central.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}


/* =========================================
   OVERLAY
========================================= */

.page-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60);
    z-index: 1;
}


/* =========================================
   VERIFICATION CARD
========================================= */

.verification-card {
    position: relative;
    width: min(400px, calc(100% - 40px));
    padding: 50px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}


/* =========================================
   CONTENT
========================================= */

.verification-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


/* =========================================
   TITLE
========================================= */

.verification-title {
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================================
   FORM
========================================= */

.verification-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* =========================================
   INPUT
========================================= */

.input-group {
    width: 100%;
}

.secret-code-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid #2563eb;
    background: #ffffff;
    color: #111827;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}


    .secret-code-input::placeholder {
        color: rgba(0, 0, 0, 0.35);
    }


    .secret-code-input:focus {
        border-color: #1d4ed8;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }


.validation-error {
    color: #dc2626;
    font-size: 15px;
    line-height: 16px;
    font-weight: 800;
}


/* =========================================
   BUTTON
========================================= */

.submit-button {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


    .submit-button:hover {
        background: #1d4ed8;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
    }


    .submit-button:active {
        transform: translateY(1px);
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .verification-card {
        width: min(400px, calc(100% - 32px));
        padding: 40px;
        border-radius: 24px;
    }

    .verification-title {
        font-size: 19px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .secret-code-page {
        padding: 20px;
    }


    .verification-card {
        width: 100%;
        padding: 30px 22px;
        border-radius: 20px;
    }


    .verification-content {
        gap: 18px;
    }


    .verification-title {
        font-size: 18px;
    }


    .verification-form {
        gap: 20px;
    }


    .secret-code-input,
    .submit-button {
        height: 48px;
        font-size: 15px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .secret-code-page {
        padding: 15px;
    }


    .verification-card {
        padding: 25px 18px;
        border-radius: 18px;
    }


    .verification-title {
        font-size: 17px;
    }
}
