﻿ .terms-container {
    display: flex;
    width: 100%;
    max-width: 520px;
    flex-direction: column;
    justify-content: center;
}

.icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 32px;
}

.terms-content {
    display: flex;
    margin-top: 32px;
    width: 100%;
    flex-direction: column;
}

.terms-header {
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

.greeting {
    color: #1f2a37;
    font-size: 18px;
    font-weight: 700;
}

.instruction {
    color: #6c737f;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.terms-title {
    color: #1f2a37;
    font-size: 18px;
    font-weight: 700;
}

.terms-date {
    color: #6c737f;
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
}

.welcome-text {
    color: #0e343a;
    font-size: 14px;
    font-weight: 700;
    margin-top: 32px;
}

.terms-text {
    color: #0e343a;
    text-align: justify;
    font-size: 14px;
    font-weight: 700;
    margin-top: 32px;
}

.agreement {
    display: flex;
    margin-top: 32px;
    width: 100%;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #68788d;
    font-weight: 500;
    text-align: center;
    justify-content: start;
    flex-wrap: wrap;
}

.checkbox-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 18px;
    border-radius: 4px;
    align-self: stretch;
    margin: auto 0;
}

.agreement-text {
    align-self: stretch;
    margin: auto 0;
}

.agree-button {
    align-self: stretch;
    border-radius: 10px;
    background-color: #15b5db;
    margin-top: 32px;
    min-height: 48px;
    width: 100%;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 13px 24px;
    border: none;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 991px) {
    .terms-container,
    .terms-content,
    .terms-header,
    .greeting,
    .instruction,
    .terms-title,
    .terms-date,
    .welcome-text,
    .terms-text,
    .agreement {
        max-width: 100%;
    }

    .agree-button {
        max-width: 100%;
        padding: 13px 20px;
    }
}

 