/*!**/
/* * This is a manifest file that'll be compiled into application.css.*/
/* **/
/* * With Propshaft, assets are served efficiently without preprocessing steps. You can still include*/
/* * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard*/
/* * cascading order, meaning styles declared later in the document or manifest will override earlier ones,*/
/* * depending on specificity.*/
/* **/
/* * Consider organizing styles into separate files for maintainability.*/
/* *!*/
/*!* Global reset *!*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15%;
}

#admin_password {
    -webkit-text-security: disc;
    -mix-text-security: disc;
}

body {
    display: block;
    align-items: center;
    background: #f4f7fc;
}

[x-cloak] { display: none !important; }
[data-toggle-target="content"] {
  transition: all 0.3s ease;
}


a{
    text-decoration: none;
    color: #555;
}
/*.form_box {*/
/*    margin-top: 50px;*/
/*    margin-left: 10px;*/
/*}*/
/* Login container */
.login-container {
    background: #fff;
    width: 380px;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

/* Background floating shapes */
.login-container::before,
.login-container::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    z-index: -1;
}

.login-container::before {
    top: -40px;
    left: -60px;
}

.login-container::after {
    bottom: -40px;
    right: -60px;
}

/* Logo */
.login-container .logo {
    margin-bottom: 20px;
}

.logo {
    display: inline-flex
}

.login-container .logo img {
    width: 180px;
}

/* Input fields */
.login-container .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-container label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #333;
}

.login-container input[type="email"],
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.login-container input[type="email"]:focus,
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #0099ff;
}

/* Forgot password */
.login-container .forgot-password {
    float: right;
    font-size: 12px;
    margin-top: -25px;
    margin-bottom: 15px;
}

.login-container .forgot-password a {
    color: #0099ff;
    text-decoration: none;
}

.login-container .forgot-password a:hover {
    text-decoration: underline;
}

/* Button */
.custom-btn {
    width: 100%;
    padding: 12px;
    /*background: #002b5c;*/
    background: #3a57e8;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-btn:hover {
    background: #0099f1;
}


/* Flash Messages */
.flash-message {
    position: fixed;
    top: 5px;
    right: 10px;
    width: 21%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.flash-message.notice {
    background-color: green;
}

.flash-message.alert {
    background-color: #f44336;
}

.flash-message.warning {
    background-color: #ff9800;
}

.message-text {
    text-align: center;
}

.flash-message .close-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.flash-message .close-btn:hover {
    color: #ddd;
}

.flash-message.hide {
    opacity: 0;
    visibility: hidden;
}
/* End Flash Messages */

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    /*width: 240px;*/
    height: 100%;
    background: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-top: 30px;
    padding-left: 10px;
}

/*.sidebar .logo {*/
/*    text-align: center;*/
/*    margin-bottom: 30px;*/
/*    padding-left: 10px;*/
/*    font-size: 16px;*/
/*}*/

/*.sidebar .logo img {*/
/*    height: 40px;*/
/*}*/

/*.sidebar ul {*/
/*    list-style: none;*/
/*}*/

/*.sidebar ul li {*/
/*    padding: 15px 5px;*/
/*    font-size: 16px;*/
/*    color: #555;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s;*/
/*}*/

/*.sidebar ul li:hover, .sidebar ul li.active {*/
/*    background: #f0f4ff;*/
/*    color: #3a57e8;*/
/*    border-left: 4px solid #3a57e8;*/
/*}*/

/*.sidebar ul li i {*/
/*    margin-right: 12px;*/
/*}*/

/* Top Navigation */
.topbar {
    border-radius: 10px;
    padding: 21px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: absolute; /* Top bar now scrolls with content */
    top: 10px;
    left: 270px; /* Start after the sidebar */
    width: calc(99% - 270px); /* Full width minus the sidebar */
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    z-index: 999;
    /*padding: 0 20px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .logo img {
    height: 30px;
}

.topbar-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 23px;
}

.topbar .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
}

.topbar .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Area */
.content-wrapper {
    margin-left: 240px;
    margin-top: 20px; /* Offset for fixed top bar */
    padding: 20px;
    /*min-height: 100vh;*/
}
/* Sidebar Hover Effect */
.sidebar ul li:hover {
    background: #f0f4ff;
    color: #3a57e8;
}

/* Scrollbar Styles for Content */
.content-wrapper {
    overflow-y: auto;
    /*height: calc(100vh - 80px); !* Allow content to scroll *!*/
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        z-index: 1000;
    }

    .topbar {
        left: 210px;
        width: calc(100% - 210px);
    }

    .content-wrapper {
        margin-left: 200px;
    }
}
   .btn-submit {
            background: #3a57e8;
            color: #fff;
            box-shadow: 0 3px 8px rgba(58, 87, 232, 0.3);
            margin-right: 10px;
   }
    .btn-submit:hover {
        background: #324bcf;
        color: #fff;
    }
.modal-footer {
    border-top: none;
    justify-content: center;
}
.form-check-input:checked {
    background-color: #3a57e8;
    border-color: #3a57e8;
}

.table-container {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    margin-left: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    margin-bottom: 15px;
    /*margin-left: 10px;*/
}
th, td {
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    /*border-bottom: 1px solid #eee;*/
}
/*th {*/
/*    color: #555;*/
/*    font-weight: 600;*/
/*}*/
/*td {*/
/*    color: #333;*/
/*}*/

.th-custom {
    padding: 3px 3px !important;
}

.status-paid {
    background: #e9fff3;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.status-negative {
    color: #d32f2f;
    font-weight: bold;
}
.actions i {
    margin-right: 8px;
    cursor: pointer;
    color: #555;
}
.actions i:hover {
    color: #000;
}
.pagination {
    margin-top: 15px;
    text-align: right;
}
.pagination button {
    border: none;
    background: #eee;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 6px;
    cursor: pointer;
}
.pagination button.active {
    background: #635bff;
    color: #fff;
}


/* Dropdown Menu Styles */
.dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    z-index: 10000;
}

.dropdown ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.dropdown ul li {
    padding: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dropdown ul li:hover {
    background-color: #f0f4ff;
}

/* Show the dropdown when avatar is clicked */
.dropdown.show {
    display: block;
}




.phone-field-row input[type="text"] {
    flex: 1;
    margin-right: 8px;
}

.phone-field-row .remove_fields button {
    background: none;   /* red */
    color: black;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.phone-field-row .remove_fields button:hover {
    color: red;
}

.max-w{
    width: 98% !important;
}
.calendar-heading {
    display: none;
}
