.m-10{
    margin: 10px;
} 
.ml-10{
    margin-left: 10px;
} 
.mr-10{
    margin-right: 10px;
}
.mt-10{
    margin-top: 10px;
}
.mb-10{
    margin-bottom: 10px;
}


.p-10{
    padding: 10px;
} 
.pl-10{
    padding-left: 10px;
} 
.pr-10{
    padding-right: 10px;
}
.pt-10{
    padding-top: 10px;
}
.pb-10{
    padding-bottom: 10px;
}



 .cstm-form-container {
     width: 100%;
     padding: 20px;
     border-radius: 20px;
 }

 .cstm-form-step {
     display: none;
 }

 .cstm-form-step.active {
     display: block;
 }

 .cstm-form-container input,
 .cstm-form-container select {
     width: 100%;
     padding: 10px;
     border-radius: 20px;
     border: 1px solid #ccc;
     margin-bottom: 15px;
     font-size: 16px;
 }

 .cstm-form-container input[type="checkbox"] {
     width: 17px !important; 
 }

 .cstm-form-container input.error,
 .cstm-form-container select.error {
     border: 1px solid red;
 }

 /* .cstm-form-container button.button-css {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 10px;
            background-color: #7251A1;
            color: #ffffff;
            font-size: 16px;
            cursor: pointer;
        }
        .cstm-form-container button:hover {
            background-color: #5b3f7e;
        } */


 .cstm-form-container button.button-css {
     width: 100%;
     padding: 10px;
     border: none;
     border-radius: 10px;
     background-color: #7251A1;
     color: #ffffff;
     font-size: 16px;
     cursor: pointer;
 }

 .cstm-form-container button:hover {
     background-color: #5b3f7e;
 }

 .cstm-form-container button.small-button {
     width: 48%;
     display: inline-block;
     margin-right: 2%;
     box-sizing: border-box;
 }

 .cstm-form-container button.small-button:last-child {
     margin-right: 0;
 }

 .cstm-form-container button.back-button {
     background-color: #888888 !important;
     /* Grey color for Back button */
 }

 .cstm-form-container button.back-button:hover {
     background-color: #6f6f6f !important;
     /* Darker grey on hover */
 }

 .cstm-form-container button.reset-btn {
    background-color: #888888 !important;
    /* Darker grey on hover */
}

.cstm-form-container button.reset-btn:hover {
    background-color: #6f6f6f !important;
    /* Darker grey on hover */
}
 
 /* General styles for all alerts */
 .cstm-form-container .notification {
     padding: 15px;
     margin-bottom: 20px;
     border-radius: 5px;
     font-size: 13px;
     color: #fff;
     text-align: left;
 }

 /* Success alert style */
 .cstm-form-container .notification.success {
     background-color: #4CAF50;
     /* Green */
 }

 /* Warning alert style */
 .cstm-form-container .notification.warning {
     background-color: #ff9800;
     /* Orange */
 }

 /* Error alert style */
 .cstm-form-container .notification.error {
     background-color: #f44336;
     /* Red */
 }

 /* Make alert visible when needed */
 .cstm-form-container .notification.show {
     display: block;
 }



 .cstm-container {
     display: flex;
     min-height: 100vh;
 }

 /* cstm-sidebar (3 columns wide) */
 .cstm-sidebar {
     width: 22%;
     /* 3 columns of 12 total */
     background-color: #7859A5;
     color: #fff;
     padding: 20px;
 }

 /* Main Menu Styling */
 nav.cstm-nav {
     background-color: #7859A5;
     color: #fff;
     padding: 10px;
 }

 .cstm-main-menu {
     list-style-type: none;
     padding: 0;
     margin: 0;
 }

 .cstm-main-menu>li {
     position: relative;
     margin-bottom: 10px;
     border-bottom: 1px solid #9674c9;
 }

 .cstm-main-menu>li a {
     text-decoration: none;
     color: white;
     padding: 10px 15px;
     display: block;
 }

 /* Active menu item styling */
 .cstm-main-menu>li.active>a {
     background-color: #7a5ea5;
     color: #fff;
     text-decoration: underline;
 }

 .cstm-main-menu>li>a::before {
     content: '';
     display: inline-block;
     width: 6px;
     height: 6px;
     border-right: 1px solid #fff;
     border-top: 1px solid #fff;
     transform: rotate(45deg);
     /* Create a right-facing arrow */
     margin-right: 10px;
     margin-bottom: 3px;
 }

 /* Submenu Styling */
 .cstm-sub-menu {
     list-style-type: none;
     padding: 0;
     margin: 0;
     position: absolute;
     background-color: #7a5ea5;
     top: 100%;
     left: 0;
     display: none;
     min-width: 150px;
     border-radius: 4px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 }

 .cstm-sub-menu li a {
     padding: 10px 15px;
     color: #fff;
     text-decoration: none;
     display: block;
 }

 .cstm-sub-menu li a:hover {
     background-color: #7a5ea5;
 }

 /* Display Submenu on Hover */
 .cstm-main-menu>li:hover .cstm-sub-menu {
     display: block;
 }

 /* Main Menu Hover */
 .cstm-main-menu>li a:hover {
     background-color: #7a5ea5;
     color: white;
 }

 /* Main cstm-content (9 columns wide) */
 .cstm-content {
     width: 78%;
     /* 9 columns of 12 total */
     padding: 20px;
     background-color: #fff;
 }

 .cstm-content h1 {
     color: #333;
     margin-bottom: 20px;
 }

 .cstm-content p {
     line-height: 1.6;
     color: #666;
 }

 /* Table Section Styling */
 .cstm-table-section {
     margin-top: 20px;
 }

 .cstm-table-section h2 {
     margin-bottom: 15px;
     color: #333;
 }

 /* Basic Table Styling */
 .cstm-table-section table {
     width: 100%;
     border-collapse: collapse;
     background-color: #fff;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .cstm-table-section th,
 .cstm-table-section td {
     padding: 12px 15px;
     text-align: left;
     border-bottom: 1px solid #ddd;
 }

 .cstm-table-section th {
     background-color: #f4f4f9;
     color: #333;
     font-weight: bold;
 }

 .cstm-table-section tr:nth-child(even) {
     background-color: #f9f9f9;
 }

 .cstm-table-section td button {
     padding: 6px 12px;
     margin-right: 5px;
     border: none;
     background-color: #007bff;
     color: white;
     cursor: pointer;
     border-radius: 3px;
     font-size: 0.9em;
 }

 .cstm-table-section td button:hover {
     background-color: #0056b3;
 }

 .cstm-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.cstm-report-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cstm-report-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cstm-report-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #4a90e2;
}

.cstm-report-title {
    font-size: 1.1em;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.cstm-report-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #2d3436;
    margin: 0;
}

.cstm-report-desc {
    font-size: 0.9em;
    color: #636e72;
    margin-top: 8px;
}

/* Variants */
.cstm-report-box.metric .cstm-report-icon {
    color: #007bff;
}

.cstm-report-box.status .cstm-report-icon {
    color: #28a745;
}

.cstm-report-box.warning .cstm-report-icon {
    color: #ffc107;
}

.cstm-report-box.error .cstm-report-icon {
    color: #e74c3c;
}

 /* Filter Section Styling */
 .cstm-filter-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cstm-filter-section h2 {
    margin-bottom: 15px;
    color: #333;
}

.cstm-filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cstm-filter-group {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.cstm-filter-group label {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #555;
}

.cstm-filter-group input,
.cstm-filter-group select {
    padding: 8px;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
}

.cstm-filter-group select {
    cursor: pointer;
}

.cstm-filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cstm-filter-buttons button {
    padding: 7px 12px;
    border: none;
    color: #fff;
    font-size: 0.9em;
    cursor: pointer;
    border-radius: 4px;
    background-color: #674993;
    transition: background-color 0.3s ease;
}

.cstm-filter-buttons button:hover {
    background-color: #674993;
}

.cstm-reset-btn{
    background-color: #7859a5;
}

.cstm-reset-btn:hover {
    background-color: #7859a5;
}
/* Filter Section Styling ends */

.cstm-form-group {
    margin-bottom: 15px;
}

.cstm-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.cstm-form-group input[type="text"],
.cstm-form-group input[type="email"],
.cstm-form-group input[type="password"],
.cstm-form-group input[type="number"],
.cstm-form-group select,
.cstm-form-group textarea,
.cstm-form-group input[type="date"],
.cstm-form-group input[type="color"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.cstm-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.cstm-form-row {
    display: flex;
    gap: 15px;
}

.cstm-form-row .cstm-form-group {
    flex: 1;
}

.cstm-form-group .form-buttons {
    text-align: center;
    margin-top: 20px;
}

.cstm-form-group button {
    padding: 10px 20px;
    color: white;
    background-color: #674993;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cstm-form-group button:hover {
    background-color: #7859a5;
}

.d-none {
    display: none !important;
}

.cstm-form-group label{
    font-size: 12.5px;
}

label.error, .reds {
    font-size: 11px;
    color: red;
}

.alert-box {
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    color: #d4edda;
    background-color: #155724; /* Light green background for success */
    border: 1px solid #155724;
    width: 300px;
    margin: 20px auto;
    text-align: left;
}

/* Style for the success message text */
.alert-box .success {
    font-weight: bold;
}


/* Notification Container */
.cstm_notification {
    position: relative;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Icon */
.cstm_notification .icon {
    font-size: 20px;
    margin-right: 15px;
}

/* Close Button */
.cstm_notification .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}

/* Success Notification */
.cstm_notification.success {
    background-color: #4cba64;
    border-left: 5px solid #1e7e34;
}

/* Error Notification */
.cstm_notification.error {
    background-color: #e55763;
    border-left: 5px solid #bd2130;
}

/* Info Notification */
.cstm_notification.info {
    background-color: #4a92e0;
    border-left: 5px solid #0056b3;
}

/* Close Button Hover Effect */
.cstm_notification .close-btn:hover {
    color: #ccc;
}


/* Popup overlay */
.cstm_popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Popup content */
.cstm_popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 45%;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Close button */
.cstm_close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}


/* dropbox page styling starts */
    .cstm_db_sidebar {
        width: 20%;
        background-color: #f4f4f4;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .cstm_db_sidebar h2 {
        font-size: 18px;
        margin-bottom: 15px;
        color: black;
        font-weight: bold;
    }

    .cstm_db_sidebar ul {
        list-style-type: none;
        padding: 0;
    }

    .cstm_db_sidebar ul li {
        margin: 10px 0;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        position: relative;
    }

    .cstm_db_sidebar ul li i {
        margin-right: 10px;
        font-size: 14px;
    }

    .cstm_db_sidebar ul li:hover {
        background-color: #e6e6e6;
        border-radius: 5px;
    }

    /* Arrow icon for folders */
    .cstm_db_sidebar ul li::before {
        content: '\f105'; /* FontAwesome right arrow */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-right: 10px;
        transition: transform 0.2s ease;
    }

    .cstm_db_sidebar ul li.open::before {
        content: '\f107'; /* FontAwesome down arrow */
    }

    /* Child Items (2nd level) */
    .cstm_db_sidebar ul li ul {
        display: none;
        padding-left: 20px;
    }

    /* Show child items when open */
    .cstm_db_sidebar ul li.open > ul {
        display: block;
    }

    .cstm_db_sidebar ul li ul li {
        font-size: 13px;
        color: #555;
    }

    .cstm_db_sidebar ul li ul li ul {
        display: none;
        padding-left: 20px;
    }

    .cstm_db_sidebar ul li ul li ul li {
        font-size: 12px;
        color: #777;
    }

    /* Top Bar Styles */
    .cstm_db_top-bar {
        width: 80%;
        padding: 10px 20px;
        background-color: #f9f9f9;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
    }

    .cstm_db_top-bar input[type="search"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    /* Main Content Styles */
    .cstm_db_main-content {
        width: 80%;
        padding: 20px;
        overflow-y: auto;
    }

    .cstm_db_main-content .cstm_db_actions {
        margin-bottom: 20px;
        display: flex;
    }

    .cstm_db_main-content .cstm_db_actions button {
        padding: 10px 20px;
        margin-right: 10px;
        border: none;
        background-color: #007BFF;
        color: white;
        font-size: 14px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .cstm_db_main-content .cstm_db_actions button i {
        margin-right: 5px;
    }

    .cstm_db_main-content .cstm_db_actions button:hover {
        background-color: #0056b3;
    }

    .cstm_db_folders {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cstm_db_folders .cstm_db_folder {
        width: 30%;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
        background-color: #f9f9f9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cstm_db_folders .cstm_db_folder i {
        font-size: 20px;
        color: #007BFF;
        margin-bottom: 10px;
    }
/* dropbox page styling ends */

/* password field icon styling starts */
.cstm-form-container .password-container {
    position: relative;
    display: flex;
    align-items: center;
}
.cstm-form-container .password-container input[type="password"] {
    width: 100%;
    padding-right: 30px;  
}
.cstm-form-container .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}
.cstm-form-container .toggle-password:hover {
    color: #333;
}
/* password field icon styling ends */

 /* File Upload Wrapper */
 #cstm_datas_form .file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
}

/* Custom Label (File Upload Button) */
#cstm_datas_form .custom-file-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff !important;
    background-color: #7859A5; /* 7859A5 */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover and Active Effects */
#cstm_datas_form .custom-file-upload:hover {
    background-color: #6d2293;
    transform: translateY(-2px);
}

#cstm_datas_form .custom-file-upload:active {
    background-color: #6d2293;
    transform: translateY(0);
}

/* Upload Icon */
#cstm_datas_form .upload-icon {
    width: 16px;
    height: 16px;
    background: url('https://cdn-icons-png.flaticon.com/512/786/786205.png') no-repeat center;
    background-size: contain;
}

/* Selected File Name */
#cstm_datas_form #file-name {
    font-size: 14px;
    color: #555555;
    font-style: italic;
}