.cm-auth-card{
    max-width:420px !important;
    margin:40px auto;
    padding:25px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    font-family:system-ui;
}
.cm-auth-card h2, .cm-auth-card h3{
    margin-bottom:15px;
}
.cm-auth-card input{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ddd;
    border-radius:6px;
}
/*
.cm-auth-card button{
    width:100%;
    padding:12px;
    background:#065f46;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
}
.cm-auth-card button.light{
    background:#eee;
    color:#333;
    margin-top:8px;
}
*/
.cm-auth-card a{
    display:block;
    margin-top:10px;
    text-align:center;
    color:#065f46;
}
.cm-alert{
    padding:10px;
    border-radius:6px;
    margin-bottom:12px;
}
.cm-alert.success{background:#dcfce7;color:#065f46;}
.cm-alert.error{background:#fee2e2;color:#991b1b;}



/* Signup text under login button */
.cm-signup-text{
    display: flex;
    align-items: baseline;   /* 👈 THIS is the real fix */
    justify-content: center;
    gap: 6px;

    margin-top: 14px;
    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

.cm-signup-label{
    line-height: 1.5;
    font-weight: 400;
}

.cm-signup-link{
    line-height: 1.5;
    font-weight: 600;
    color: #065f46;
    text-decoration: none;
    position: relative;
    top: 0.5px;   /* 👈 micro-adjustment for optical alignment */
}

.cm-signup-link:hover{
    color: #034d36;
}

/*Login and forget row */
/* Login row */
.cm-login-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

/* Forgot password link */
.cm-login-row #cm-forgot-link{
	margin-top : -43px;
    font-size: 13px;
    color: #065f46;
    text-decoration: none;
    transition: color .3s;
}

.cm-login-row #cm-forgot-link:hover{
    color: #034d36;
    text-decoration: underline;
}

/* Login button override (important part) */
.cm-login-row button{
    width: auto !important;   /* 🔥 override 100% */
    padding: 10px 20px;
    background: #065f46;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/*Reset Form Button*/
.cm-reset-actions{
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

/* Override full width button */
.cm-reset-actions button{
    width: 100% !important;
}

/* Primary button */
.cm-reset-actions #cm-send-reset{
    background: #065f46;
    color: #fff;
}

/* Light button already styled */
.cm-reset-actions .light{
    background: #eee;
    color: #333;
}