.cpb-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.cpb-form .cpb-field {
    margin-bottom: 16px;
}

.cpb-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.cpb-form .required {
    color: #b91c1c;
}

.cpb-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.cpb-description {
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.9rem;
}

.cpb-heading {
    margin: 24px 0 12px;
    font-size: 1.1rem;
}

.cpb-button {
    background: #1f3a5f;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 1rem;
}

.cpb-login-links {
    margin-top: 16px;
    text-align: center;
    font-size: 0.95rem;
}

.cpb-login-links a {
    color: #1f3a5f;
    text-decoration: none;
}

.cpb-login-links a:hover {
    text-decoration: underline;
}

.cpb-login-links-sep {
    margin: 0 10px;
    color: #9ca3af;
}

.cpb-notice {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.cpb-notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.cpb-notice-list {
    margin: 0;
    padding-left: 1.2rem;
}

.cpb-notice-list li + li {
    margin-top: 0.35rem;
}

.cpb-global-flash {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cpb-notice-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.cpb-loading-indicator {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
}

.cpb-form-wrap.cpb-loading .cpb-loading-indicator {
    display: flex;
}

.cpb-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #dbe4f0;
    border-top-color: #1f3a5f;
    border-radius: 50%;
    animation: cpb-spin 0.8s linear infinite;
}

.cpb-loading-text {
    color: #1f3a5f;
    font-weight: 600;
    font-size: 0.95rem;
}

.cpb-form-wrap.cpb-loading .cpb-button {
    opacity: 0.65;
    cursor: wait;
}

@keyframes cpb-spin {
    to {
        transform: rotate(360deg);
    }
}
