@import url('./captcha-shared.css');

body {
    position: relative;
}

/* Main container */
.confirmation-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

/* Validation block */
.validation-block {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
}

/* Logo section - override shared (no text-align: center) */
.logo-section {
    padding: 20px 40px 10px 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

/* Success content */
.success-content {
    padding: 20px 40px 70px 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    background: #E4F5EA;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #005E22;
    font-weight: 900;
}

.success-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 32px;
}

.success-subtitle {
    color: #1F1E1F;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}

/* Footer validation block */
.validation-footer {
    background: #f8f9ff;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.mailinblack-logo {
    height: 24px;
    margin-left: -8px;
}

/* Promotion block */
.promotion-block {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.promotion-image {
    flex: 1;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.promotion-content {
    flex: 1;
    display: flex;
    padding: 24px 24px;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.promotion-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.promotion-subtitle {
    color: #000;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 24px;
}

.promotion-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
}

.promotion-button:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.promotion-button:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 640px) {
    body {
        align-items: flex-start;
        padding: 60px 12px 12px;
    }

    .confirmation-container {
        max-width: 100%;
        gap: 16px;
    }

    .logo-section {
        padding: 20px 20px 16px 20px;
    }

    .success-content {
        padding: 16px 20px 24px 20px;
    }

    .success-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
        font-size: 28px;
    }

    .success-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .success-subtitle {
        font-size: 15px;
    }

    .validation-footer {
        padding: 12px 16px;
        font-size: 13px;
    }

    .mailinblack-logo {
        height: 20px;
    }

    .promotion-block {
        flex-direction: column;
        min-height: auto;
    }

    .promotion-image {
        min-height: 160px;
        flex: none;
    }

    .promotion-content {
        padding: 20px 20px 24px 20px;
        text-align: center;
    }

    .promotion-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .promotion-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .promotion-button {
        font-size: 15px;
        align-self: center;
        width: 60%;
        max-width: 280px;
    }
}

.promotion-wrapper {
    display: flex;
}

@media (max-width: 480px) {
    .confirmation-container {
        gap: 12px;
    }

    .success-title {
        font-size: 20px;
    }

    .promotion-title {
        font-size: 18px;
    }

    .promotion-content {
        padding: 16px 16px 20px 16px;
    }
    .promotion-wrapper {
        display: block;
    }
}