body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
}

/* Button (demo trigger) */
#openModalBtn {
    margin: 40px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide */
.hidden {
    display: none;
}

/* Modal */
.modal {
    width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

/* Close button */
.close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

/* Title */
.modal h1 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* Subtitle */
.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Input */
.input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 14px;
    font-size: 14px;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 14px;
}

.primary {
    background: #3b5bdb;
    color: white;
}

.secondary {
    background: #3b5bdb;
    color: white;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 10px 0 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider span {
    margin: 0 10px;
    color: #888;
    font-size: 12px;
}

/* Footer */
.terms {
    font-size: 12px;
    color: #888;
}