﻿@charset "UTF-8";
/*------------------------------------------------------------------
[Login Stylesheet]

Project        :   Rufanpay
Copyright      :   Rufanpay
Author         :   David Kiptoo
Author URL     :   https://rufanpay.com/
Support	       :   dkiptoo@rufanpay.com

-------------------------------------------------------------------*/
:root {
    --primary-bg-color: #8fbd56;
    --primary-bg-hover: #82c035;
    --primary-bg-border: #8fbd56;
    --dark-body: #2c2f3e;
    --dark-theme: rgba(0, 0, 0, 0.3);
    --dark-bg: rgba(0, 0, 0, 0.2);
    --dark-border: rgba(255, 255, 255, 0.15);
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/*-----Alerts-----*/
.alert {
    position: relative;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

    .alert:last-child,
    .alert p {
        margin-bottom: 0;
    }

.alert-heading {
    color: inherit;
}

.alert-link {
    font-weight: 500;
}

    .alert-link:hover,
    .alert-link a:hover {
        text-decoration: underline;
    }

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

.alert-icon {
    padding-left: 3rem;
}

    .alert-icon > i {
        color: inherit;
        font-size: 1rem;
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

.alert-avatar {
    padding-left: 3.75rem;
}

    .alert-avatar .avatar {
        position: absolute;
        top: 0.5rem;
        left: 0.75rem;
    }

.alert-default {
    background-color: #e4e7ecc5;
}

    .alert-default .alert-link {
        color: #444546;
    }

.alert-primary {
    color: var(--primary-bg-color);
    background-color: var(--primary02);
    border-color: var(--primary02);
}

    .alert-primary hr {
        border-top-color: var(--primary-bg-color);
    }

    .alert-primary .alert-link {
        color: var(--primary-bg-color);
    }

.alert-secondary {
    color: #e984b1;
    background-color: rgba(233, 132, 177, 0.15);
    border-color: rgba(233, 132, 177, 0.15);
}

    .alert-secondary hr {
        border-top-color: #e984b1;
    }

    .alert-secondary .alert-link {
        color: #e984b1;
    }

.alert-success {
    color: #13bfa6;
    background-color: rgba(19, 191, 166, 0.15);
    border-color: rgba(19, 191, 166, 0.15);
}

    .alert-success hr {
        border-top-color: #13bfa6;
    }

    .alert-success .alert-link {
        color: #13bfa6;
    }

.alert-info {
    color: #59adec;
    background-color: rgba(89, 173, 236, 0.15);
    border-color: rgba(89, 173, 236, 0.15);
}

    .alert-info hr {
        border-top-color: #59adec;
    }

    .alert-info .alert-link {
        color: #59adec;
    }

.alert-warning {
    color: #e7c354;
    background-color: rgba(231, 195, 84, 0.15);
    border-color: rgba(231, 195, 84, 0.15);
}

    .alert-warning hr {
        border-top-color: #e7c354;
    }

    .alert-warning .alert-link {
        color: #e7c354;
    }

.alert-danger {
    color: #d12c47;
    background-color: rgba(209, 44, 71, 0.15);
    border-color: rgba(209, 44, 71, 0.15);
}

    .alert-danger hr {
        border-top-color: #d12c47;
    }

    .alert-danger .alert-link {
        color: #d12c47;
    }

.alert-dark {
    color: #323251;
    background-color: rgba(68, 69, 70, 0.15);
    border-color: rgba(68, 69, 70, 0.15);
}

    .alert-dark hr {
        border-top-color: #444546;
    }

    .alert-dark .alert-link {
        color: #444546;
    }

.alert-light {
    color: #4d5875;
    background-color: rgba(228, 231, 236, 0.25);
    border-color: rgba(228, 231, 236, 0.25);
}

    .alert-light hr {
        border-top-color: #e4e7ecc5;
    }

    .alert-light .alert-link {
        color: #868e96;
    }
.btn-close {
    float: right;
    font-size: 1.40625rem;
    font-weight: 400;
    line-height: 1;
    color: #000;
    text-shadow: none;
    opacity: 0.7;
    transition: 0.3s color;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.text-end {
    text-align: right !important;
}
.alert {
    position: relative;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.alert-danger {
    color: #d12c47;
    /*background-color: rgba(209, 44, 71, 0.15);
    border-color: rgba(209, 44, 71, 0.15); */
}

.container {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    min-height: 500px;
}

.left-panel {
    flex: 1;
    background: linear-gradient(to bottom right, #007bff, #0056b3);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-panel {
    flex: 1.2;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.illustration {
    margin-top: 20px;
    text-align: center;
}

    .illustration i {
        font-size: 150px;
        opacity: 0.8;
    }

.title {
    color: #1f2937;
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.description {
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
}

.input-wrapper {
    position: relative;
}

    .input-wrapper i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
        font-size: 16px;
    }

input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

    input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    }
.text-primary {
    color: var(--primary-bg-color) !important;
    fill: var(--primary-bg-color) !important;
}

.submit-btn {
    width: 100%;
    background: #8fbd56;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

    .submit-btn:hover {
        background: #5bd81d;
    }

.submit-btnLogin:hover {
    background: #00D100;
}

.submit-btnLogin {
    width: 100%;
    background: #8fbe56;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.security-tips {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

    .security-tips h3 {
        color: #1f2937;
        margin-bottom: 15px;
        font-size: 16px;
    }

.tip {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

    .tip i {
        color: #2563eb;
        margin-right: 10px;
        font-size: 14px;
        margin-top: 3px;
        min-width: 16px;
    }

    .tip span {
        color: #4b5563;
        line-height: 1.5;
        font-size: 14px;
    }

.footer {
    background-color: #f1f5f9;
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-top: auto;
}

    .footer a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

    .footer p {
        margin-bottom: 8px;
    }

.back-link {
    text-align:right;
    margin-top: 8px;
    margin-bottom:8px;
}

    .back-link a {
        color: #2563eb;
        text-decoration: none;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
    }

        .back-link a i {
            margin-right: 6px;
        }

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 500px;
    }

    .left-panel {
        padding: 25px;
    }

    .illustration i {
        font-size: 100px;
    }
}

@media (max-width: 500px) {
    .right-panel {
        padding: 20px;
    }

    .title {
        font-size: 22px;
    }
}
/*----- Global Loader -----*/
#global-loader {
    position: fixed;
    z-index: 50000;
    background: white;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.error-bg {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0;
    background: url(../images/pngs/bg1.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

button.btn-close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    background-image: none;
}

    button.btn-close:focus {
        box-shadow: none;
    }

.btn-outline-cyan {
    border: 1px solid #17a2b8 !important;
    color: #17a2b8 !important;
}

    .btn-outline-cyan:hover {
        color: #fff !important;
        background-color: #17a2b8 !important;
    }

.btn-outline-orange {
    border: 1px solid #fc7303 !important;
    color: #fc7303 !important;
}

    .btn-outline-orange:hover {
        color: #fff !important;
        background-color: #fc7303 !important;
    }

.btn-group .btn-close {
    padding: 6px;
    border-radius: 0px 4px 4px 0px;
    opacity: 1;
    font-weight: 300;
    background-image: none;
}

    .btn-group .btn-close.btn-pill {
        border-radius: 0px 50px 50px 0px;
    }

    .btn-group .btn-close.btn-outline-secondary {
        border: 1px solid #e984b1 !important;
        color: #e984b1 !important;
    }

        .btn-group .btn-close.btn-outline-secondary:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-primary {
        border: 1px solid var(--primary-bg-color) !important;
        color: var(--primary-bg-color) !important;
    }

        .btn-group .btn-close.btn-outline-primary:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-info {
        border: 1px solid #59adec !important;
        color: #59adec !important;
    }

        .btn-group .btn-close.btn-outline-info:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-warning {
        border: 1px solid #e7c354 !important;
        color: #e7c354 !important;
    }

        .btn-group .btn-close.btn-outline-warning:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-danger {
        border: 1px solid #d12c47 !important;
        color: #d12c47 !important;
    }

        .btn-group .btn-close.btn-outline-danger:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-success {
        border: 1px solid #13bfa6 !important;
        color: #13bfa6 !important;
    }

        .btn-group .btn-close.btn-outline-success:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-outline-cyan {
        border: 1px solid #17a2b8 !important;
        color: #17a2b8 !important;
    }

        .btn-group .btn-close.btn-outline-cyan:hover {
            color: #fff !important;
            background-color: #17a2b8 !important;
        }

    .btn-group .btn-close.btn-outline-orange {
        border: 1px solid #fc7303 !important;
        color: #fc7303 !important;
    }

        .btn-group .btn-close.btn-outline-orange:hover {
            color: #fff !important;
            background-color: #fc7303 !important;
        }

    .btn-group .btn-close.btn-primary-light {
        border: 1px solid rgba(var(--primary-bg-color), 0.3) !important;
    }

        .btn-group .btn-close.btn-primary-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-secondary-light {
        border: 1px solid rgba(233, 132, 177, 0.3) !important;
    }

        .btn-group .btn-close.btn-secondary-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-danger-light {
        border: 1px solid rgba(209, 44, 71, 0.3) !important;
    }

        .btn-group .btn-close.btn-danger-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-success-light {
        border: 1px solid rgba(19, 191, 166, 0.3) !important;
    }

        .btn-group .btn-close.btn-success-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-warning-light {
        border: 1px solid rgba(231, 195, 84, 0.3) !important;
    }

        .btn-group .btn-close.btn-warning-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-info-light {
        border: 1px solid rgba(89, 173, 236, 0.3) !important;
    }

        .btn-group .btn-close.btn-info-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-orange-light {
        border: 1px solid rgba(252, 115, 3, 0.3) !important;
    }

        .btn-group .btn-close.btn-orange-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-cyan-light {
        border: 1px solid rgba(23, 162, 184, 0.3) !important;
    }

        .btn-group .btn-close.btn-cyan-light:hover {
            color: #fff !important;
        }

    .btn-group .btn-close.btn-lg {
        padding: 11px;
        background-image: none;
        font-size: 31px;
    }
btn-primary {
    color: #fff !important;
    background-color: var(--primary-bg-color) !important;
    border-color: var(--primary-bg-color) !important;
}


    .btn-group .btn-close.btn-sm {
        padding: 6px !important;
        font-size: 1rem !important;
        background-image: none;
    }