﻿/* =========================================================
   MEETFLOW PUBLIC / AUTH LAYOUT
   Used by Login + Registration
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

    body.mf-auth-body {
        background: #f5f9fd;
        color: #1e293b;
        font-family: Arial, Helvetica, sans-serif;
    }


/* =========================================================
   HEADER
   ========================================================= */

.mf-auth-header {
    height: 76px;
    width: 100%;
    background: linear-gradient( 90deg, #126fc4 0%, #1688e8 55%, #1595ef 100% );
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    box-sizing: border-box;
    color: #ffffff;
}


.mf-auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.mf-auth-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.18);
    font-size: 22px;
}


.mf-auth-brand-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}


.mf-auth-brand-subtitle {
    margin-top: 3px;
    font-size: 11px;
    opacity: .85;
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.mf-auth-language-form {
    margin: 0;
}


.mf-auth-language {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
}


    .mf-auth-language i {
        font-size: 15px;
    }


    .mf-auth-language select {
        border: 0;
        outline: 0;
        background: transparent;
        color: #ffffff;
        font-size: 13px;
        cursor: pointer;
    }


        .mf-auth-language select option {
            color: #1e293b;
            background: #ffffff;
        }


/* =========================================================
   MAIN
   ========================================================= */

.mf-auth-main {
    width: 100%;
    min-height: calc(100vh - 76px - 58px);
    box-sizing: border-box;
}


/* =========================================================
   FOOTER
   ========================================================= */

.mf-auth-footer {
    min-height: 58px;
    width: 100%;
    padding: 0 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
}


.mf-auth-footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}


.mf-auth-footer a {
    color: #64748b;
    text-decoration: none;
}


    .mf-auth-footer a:hover {
        color: #1688e8;
    }


/* =========================================================
   IMPORTANT
   Prevent dashboard layout from affecting auth pages
   ========================================================= */

.mf-auth-body .sidebar,
.mf-auth-body .sidebar-wrapper,
.mf-auth-body .main-sidebar,
.mf-auth-body .navbar-sidebar,
.mf-auth-body .dashboard-sidebar {
    display: none !important;
}


.mf-auth-body .main-content,
.mf-auth-body .content-wrapper,
.mf-auth-body .dashboard-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .mf-auth-header {
        height: auto;
        min-height: 70px;
        padding: 12px 18px;
        gap: 15px;
    }

    .mf-auth-brand-subtitle {
        display: none;
    }

    .mf-auth-brand-name {
        font-size: 19px;
    }

    .mf-auth-footer {
        padding: 15px 18px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}


@media (max-width: 480px) {

    .mf-auth-header {
        align-items: flex-start;
    }

    .mf-auth-language {
        height: 34px;
    }

        .mf-auth-language select {
            max-width: 90px;
        }
}
/* =========================================================
   AUTH PAGE - EXACT VIEWPORT FIT
   ========================================================= */

/* =========================================================
   AUTH PAGE - EXACT VIEWPORT FIT
   ========================================================= */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

    body.mf-auth-body {
        overflow-x: hidden;
    }

.mf-auth-main {
    min-height: 0;
    height: calc(100vh - 134px);
    overflow: hidden;
}

.mf-register-page {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    box-sizing: border-box;
    padding: 18px 32px 10px;
    overflow: hidden;
}

.mf-register-container {
    height: 100%;
    min-height: 0 !important;
    box-sizing: border-box;
}
/* =========================================================
   MEETFLOW AUTH LAYOUT - 100% ZOOM / VIEWPORT FIX
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

/* Auth page itself */
body {
    min-height: 100vh;
}

/* Header must remain normal */
.mf-auth-header {
    flex: 0 0 auto;
}

/* Main content must NOT have a forced fixed height */
.mf-auth-main {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Footer must stay below content */
.mf-auth-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    flex: 0 0 auto;
    z-index: 2;
}