* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    padding: 25px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #100b24, #241044, #3b1761);
}

.images {
    text-align: center;
    margin-bottom: 15px;
}

.images img {
    width: 150px;
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

.Box-verification {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 35px 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 8px 12px;
    color: #e3d5ff;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.verification-content {
    text-align: center;
}

.mail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.verification-content h1 {
    margin-bottom: 14px;
    font-size: 27px;
}

.verification-description {
    margin-bottom: 25px;
    color: #d4cce4;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.verification-description strong {
    color: #fff;
}

.code-label {
    display: block;
    margin-bottom: 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.code-input {
    width: 48px;
    height: 55px;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.code-input:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18);
}

.verify-button {
    width: 100%;
    padding: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.verify-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.expiry-note {
    margin-top: 17px;
    color: #c4b5d9;
    font-size: 12px;
}

.resend-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.resend-section p {
    margin-bottom: 10px;
    color: #d4cce4;
    font-size: 14px;
}

.resend-button {
    padding: 8px 12px;
    color: #c4b5fd;
    font-size: 14px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
}

.resend-button:hover {
    color: #fff;
    text-decoration: underline;
}

.verification-message {
    margin-bottom: 20px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.verification-message.error {
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(220, 38, 38, 0.12);
}

.verification-message.success {
    color: #bbf7d0;
    border: 1px solid rgba(74, 222, 128, 0.35);
    background: rgba(22, 163, 74, 0.12);
}

@media (max-width: 480px) {
    .Box-verification {
        padding: 25px 18px;
    }

    .verification-content h1 {
        font-size: 23px;
    }

    .code-inputs {
        gap: 6px;
    }

    .code-input {
        width: min(44px, 13vw);
        height: 49px;
        font-size: 21px;
    }
}