/* CoreMemo Member Skin Styles */

.mbskin {
    max-width: 440px;
    margin: 60px auto;
    padding: 0 20px;
}

.mbskin .cm-auth-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 40px 36px;
}

.mbskin h1 {
    display: none;
}

.mbskin .cm-auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 8px;
    text-align: center;
}

.mbskin .cm-auth-sub {
    color: #6b7280;
    text-align: center;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.mbskin .frm_group {
    margin-bottom: 16px;
}

.mbskin .frm_group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.mbskin .frm_input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
    outline: none;
}

.mbskin .frm_input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.mbskin .btn_submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.mbskin .btn_submit:hover {
    opacity: 0.9;
}

.mbskin .login_info_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 0.875rem;
}

.mbskin .chk_box {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
}

.mbskin .chk_box input {
    accent-color: #4f46e5;
}

.mbskin .link-forgot {
    color: #4f46e5;
    text-decoration: none;
}

.mbskin .link-forgot:hover {
    text-decoration: underline;
}

.mbskin .cm-divider {
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 0.875rem;
    position: relative;
}

.mbskin .cm-divider::before,
.mbskin .cm-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e5e7eb;
}

.mbskin .cm-divider::before { left: 0; }
.mbskin .cm-divider::after  { right: 0; }

.mbskin .cm-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.mbskin .cm-auth-footer a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

/* register */
.register {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.register .cm-register-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 36px;
}

.register h2.cm-section-label {
    font-size: 1rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e7ff;
}

.register ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register ul li {
    margin-bottom: 16px;
}

.register ul li label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.register .frm_input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.register .frm_input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.register .btn_confirm {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.register .btn_close {
    flex: 1;
    padding: 12px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.register .btn_submit {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.register .cm-terms-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    height: 120px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 10px;
    resize: none;
    width: 100%;
    box-sizing: border-box;
}

.register .fregister_agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.register .fregister_agree input {
    accent-color: #4f46e5;
    width: 16px;
    height: 16px;
}

.register #fregister_chkall {
    background: #ede9fe;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 16px 0;
    font-weight: 600;
}

/* register result */
#reg_result {
    text-align: center;
}

#reg_result .reg_result_p {
    font-size: 1.2rem;
    color: #1e1b4b;
    margin: 20px 0;
}

#reg_result .fa-gift {
    font-size: 3rem;
    color: #4f46e5;
    display: block;
    margin-bottom: 12px;
}

#reg_result .result_txt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.btn_confirm_reg {
    text-align: center;
    margin-top: 24px;
}

.reg_btn_submit {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
