/*
|--------------------------------------------------------------------------
| Read Full Article Link
|--------------------------------------------------------------------------
*/

.cmmg-read-full-link{
    display:inline;
    margin-left:6px;
    color:#c62828;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition:all .2s ease;
}

.cmmg-read-full-link:hover{
    color:#a61d1d;
    text-decoration:none;
}

/*
|--------------------------------------------------------------------------
| Continue Reading Gate
|--------------------------------------------------------------------------
*/

.cmmg-gate-box{
    margin:18px 0;
    padding:16px;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fafafa;
}

.cmmg-gate-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:8px;
}

.cmmg-gate-text{
    margin-bottom:14px;
    color:#666;
    line-height:1.5;
}

.cmmg-gate-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.cmmg-button{
    border:none;
    background:#c62828;
    color:#fff;
    padding:8px 16px;
    border-radius:6px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
}

.cmmg-button:hover{
    background:#a61d1d;
}

/*
|--------------------------------------------------------------------------
| Modal Overlay
|--------------------------------------------------------------------------
*/

.cmmg-modal-overlay{
    display:none;
    position:fixed;
    z-index:999999;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,.65);
    padding:20px;
}

/*
|--------------------------------------------------------------------------
| Modal Window
|--------------------------------------------------------------------------
*/

.cmmg-modal{
    position:relative;
    max-width:430px;
    margin:80px auto;
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 15px 50px rgba(0,0,0,.20);
}

.cmmg-modal-title{
    margin:0 0 20px;
    font-size:24px;
    font-weight:700;
}

.cmmg-modal-close{
    position:absolute;
    right:12px;
    top:10px;
    width:32px;
    height:32px;
    border:none;
    background:none;
    cursor:pointer;
    font-size:28px;
    line-height:1;
    color:#888;
}

.cmmg-modal-close:hover{
    color:#111;
}

/*
|--------------------------------------------------------------------------
| Form Fields
|--------------------------------------------------------------------------
*/

.cmmg-field{
    margin-bottom:15px;
}

.cmmg-field label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

.cmmg-field input{
    width:100%;
    box-sizing:border-box;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:6px;
    outline:none;
}

.cmmg-field input:focus{
    border-color:#c62828;
}

/*
|--------------------------------------------------------------------------
| Submit Button
|--------------------------------------------------------------------------
*/

.cmmg-submit-btn{
    width:100%;
    border:none;
    background:#c62828;
    color:#fff;
    padding:11px 15px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
    transition:.2s;
}

.cmmg-submit-btn:hover{
    background:#a61d1d;
}

/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.cmmg-message{
    display:none;
    margin-bottom:15px;
    padding:10px;
    border-radius:6px;
    font-size:14px;
}

.cmmg-message.success{
    display:block;
    background:#e8f5e9;
    color:#2e7d32;
}

.cmmg-message.error{
    display:block;
    background:#ffebee;
    color:#c62828;
}

/*
|--------------------------------------------------------------------------
| Switch Login/Register
|--------------------------------------------------------------------------
*/

.cmmg-switch{
    text-align:center;
    margin-top:15px;
    font-size:14px;
}

.cmmg-switch a{
    color:#c62828;
    text-decoration:none;
    font-weight:600;
}

.cmmg-switch a:hover{
    text-decoration:underline;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width:480px){

    .cmmg-modal{
        margin:40px auto;
        padding:20px;
    }

    .cmmg-gate-buttons{
        flex-direction:column;
    }

    .cmmg-button{
        width:100%;
    }

}