/* wrap all plugin styles */
.fcp-forms-container,
.fcp-forms-container * {
    font-family: 'Poppins', sans-serif !important;
}

.fcp-forms-container .fcp-form-card { 
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 25px !important;
    width: 300px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fcp-forms-container .fcp-form-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #04709B !important;
    text-align: center !important;
    margin-bottom: 15px !important;
}

/* inputs, buttons */
.fcp-forms-container input,
.fcp-forms-container select,
.fcp-forms-container textarea {
    width: 100% !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
  border: 1px solid #ccc !important;
    font-family: 'Poppins', sans-serif !important;
}

.fcp-forms-container .fcp-btn {
    background: #04709B !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: none !important;
    width: 100% !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
}
.fcp-forms-container .fcp-btn:hover {
    background: #035a7c !important;
}

/* messages */
.fcp-forms-container .fcp-message {
    background: #e6f7ff !important;
    border-left: 4px solid #04709B !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
}

/* responsive */
@media screen and (max-width: 768px) {
    .fcp-forms-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    .fcp-forms-container .fcp-form-card {
        width: 90% !important;
    }
}



.fcp-banner-column {
    overflow: hidden; /* ensure image corners respect the container */
    border-radius: 8px;
}

.fcp-banner-column img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* optional, keeps image aspect ratio nicely */
}



/* Animation for portal container */
.fcp-forms-column, .fcp-banner-column {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fcp-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}





/* Portal background & card */
.fcp-portal-bg {
    background: #EFF5F5;
    /* padding: 50px 15px;*/
    padding-bottom: 30px;
    
}
.fcp-portal-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

/* Portal Welcome Section */
.fcp-portal-welcome {
    text-align: left;
    margin-bottom: 60px; /* space below the whole welcome section */
    margin-top: 20px;
}

.fcp-portal-welcome h1 {
    color: #04709B!important;
    font-family: Poppins !important;
    font-size: 42px !important;
    margin-bottom: 10px !important; /* space between h1 and paragraph */
}

.fcp-portal-welcome p {
    font-size: 16px !important;
    font-family: Poppins !important;
    color: #bbbbbb !important;
    margin-bottom: 20px !important; /* space between paragraph and toggle buttons */
}



/* Content layout: left/right */
.fcp-portal-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Left column */
.fcp-forms-column {
    flex: 1 1 400px;
    min-width: 300px;
    padding-left: 30px;   
    padding-right: 30px;  
}

/* Right column (banner) */
.fcp-banner-column {
    flex: 1 1 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fcp-banner-column img {
    max-width: 100%;
    border-radius: 12px;
}



/* Toggle wrapper */
.fcp-toggle-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-bottom: 15px;
    width: 100% !important;
}

/* Toggle buttons */
.fcp-toggle-btn {
  /*  background: #e6f7ff !important;*/
    color: #04709B !important;
    border: 1px solid #04709B !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    cursor: pointer !important;

    font-family: 'Poppins', sans-serif !important;
  
    text-align: center !important;
    display: block !important;
    width: 100% !important;

    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    margin-bottom: 20px;
}

/* Active + hover */
.fcp-toggle-btn.active,
.fcp-toggle-btn:hover {
    background: #04709B !important;
    color: #fff !important;
}




/* Form visibility */
.fcp-login,
.fcp-register {
    display: none;
}

.fcp-login.active,
.fcp-register.active {
    display: block;
}



/* Login/register submit buttons */
.fcp-btn {
   /* all: unset !important;*/
    display: block !important;

    width: 100% !important;
    box-sizing: border-box !important; /* prevents overflow */

    text-align: center !important;
    background: #04709B !important;
    color: #fff !important;
    border: 1px solid #04709B !important;

    padding: 12px 15px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    
    cursor: pointer !important;

    transition: background .2s ease !important;
    margin-top: 20px;
}


/* Hover */
.fcp-btn:hover {
    background: #035a7c !important;
}






/* Login options row */
/* Login options row */
.fcp-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Remember me styling */
.fcp-remember {
    display: flex;
    align-items: center;
    gap: 5px; /* small spacing between checkbox & text */
    cursor: pointer;
    color: #04709B;
    font-weight: 500;
    text-decoration: none;
    font-family: Poppins !important;
}

.fcp-remember input[type="checkbox"] {
    margin: 0;
    accent-color: #04709B; /* modern checkbox color */
}

/* Forgot password link */
.fcp-forgot {
    color: #04709B;
    text-decoration: none;
    font-weight: 500;
    font-family: Poppins !important;
}

.fcp-forgot:hover {
    text-decoration: underline;
}

/* Space under all inputs except checkboxes */
.fcp-form-card input:not([type="checkbox"]),
.fcp-form-card select,
.fcp-form-card textarea {
    margin-bottom: 15px !important;
    border: 1px solid #BBBBBB;
    color: #BBBBBB;    
    font-size: 14px;
    border-radius: 8px !important;
    padding: 0.8rem 1rem !important;
}

/* Placeholder text */
.fcp-form-card input::placeholder,
.fcp-form-card select::placeholder,
.fcp-form-card textarea::placeholder {
    color: #BBBBBB !important;
    opacity: 1; /* ensure full opacity for some browsers */
}


/* Add horizontal padding to login section */
.fcp-login-section {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box; /* ensures padding does not overflow */
}


.fcp-register-note {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
    line-height: 1.5;
    font-family: Poppins !important;
}








/* Popup base (hidden) */
.fcp-popup {
    display: none; /* default, overridden by .show */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

/* When JS adds .show → popup appears */
.fcp-popup.show {
    display: flex;
}

/* Popup inner box */
.fcp-popup-content {
    background: #ffffff;
    padding: 30px 40px;
    max-width: 420px;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 15px 30px rgba(0,0,0,0.25);
    animation: popupFade 0.25s ease-out;
}

/* Close button style */
.fcp-popup-content button.fcp-modal-close {
    margin-top: 20px;
    padding: 10px 20px;
    background: #084da7;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.fcp-popup-content button.fcp-modal-close:hover {
    opacity: 0.85;
}

/* Animation */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}












/* Mobile */
@media screen and (max-width: 768px) {
    .fcp-portal-content {
        flex-direction: column;
        align-items: center;
    }
}

