/* Add here all your CSS customizations */

/**
* Dashboard Background - Purple Theme
*/
html,
body {
    background: #f5f0fb !important;
}

/**
* Media Manager
*/
.media-manager-grid-wrap{
    /* Grid styles */
    display: grid;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(120px, 120px));
    grid-gap: 1rem;
}
.adminMediaModalInfoSide {
    font-size: 12px;
}
img#mediaManagerPreviewScreen {
    border: 1px solid #ddd;
    padding: 5px;
}
#filemanager{
    max-width: 90%;
}
.media-modal-info-wrap {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 250px;
            flex: 0 0 250px;
}
.media-modal-thumbnail{
    display: block;
    border: 2px solid transparent;
}
.media-modal-thumbnail img{
    width: 100%;
    height: auto;
}
.media-modal-thumbnail.selected{
    border: 2px solid #2879FE;
    padding: 2px;
}
.allowed_file_text{
    font-size: 12px;
}
#modal-filemanager{
    z-index: 10050;
}
#modal-filemanager .pagination{
    margin: 0;
}
#modal-filemanager label{
    word-wrap: break-word;
}
.image-wrap .img-thumbnail{
    max-width: 80px;
}
#modal-filemanager .card {
    height: 147px;
    overflow: hidden;
    margin-bottom: 2rem;
}
#modal-filemanager .card .card-body{
    padding: 5px;
    font-size: 12px;
}
#modal-filemanager .card .card-body label{
    white-space: nowrap;
}
/**
END Media Manager
 */
/* Registration Page Styles */
.user-type-selection {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.user-type-btn {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    color: #666;
}
.user-type-btn:hover {
    border-color: #0088cc;
    background: #f0f8ff;
}
.user-type-btn.active {
    border-color: #0088cc;
    background: #0088cc;
    color: white;
}
.user-type-btn i {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}
.otp-container {
    display: none;
    margin-top: 15px;
}
.otp-container.show {
    display: block;
}
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.otp-input:focus {
    border-color: #0088cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}
.otp-input:disabled {
    background-color: #f5f5f5;
}
.verify-btn {
    margin-top: 10px;
}
.email-verified {
    color: #28a745;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}
.email-verified.show {
    display: block;
}
.resend-otp {
    color: #0088cc;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 10px;
}
.resend-otp:hover {
    color: #006699;
}
#submit-btn {
    display: none;
    width: 100%;
}
#submit-btn.show {
    display: block;
}
/* End Registration Page Styles */

/* ============================================================
   Dashboard – Dark Purple Navigation Theme (all roles)
   ============================================================ */

/* Left sidebar background */
.sidebar-left {
    background: #3d1466 !important;
}

.sidebar-left .sidebar-header .sidebar-title {
    background: #3d1466 !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.sidebar-left .sidebar-header .sidebar-toggle {
    background-color: #2d0f52 !important;
}

.sidebar-left .sidebar-header .sidebar-toggle i {
    color: rgba(255, 255, 255, 0.85) !important;
}

.sidebar-left .sidebar-header .sidebar-toggle:hover i {
    color: #fff !important;
}

/* Sidebar scroll area */
.sidebar-left .nano,
html.scroll .sidebar-left .nano,
html.boxed .sidebar-left .nano,
html.sidebar-left-big-icons .sidebar-left .nano {
    background: #3d1466 !important;
}

/* Nav links – white text & icons */
ul.nav-main li a,
.sidebar-left .nav-main li a {
    color: rgba(255, 255, 255, 0.82) !important;
}

ul.nav-main > li > a:hover,
ul.nav-main > li > a:focus,
.sidebar-left .nav-main > li > a:hover,
.sidebar-left .nav-main > li > a:focus {
    background-color: rgba(255, 255, 255, 0.10) !important;
    color: #fff !important;
}

ul.nav-main > li.nav-expanded > a,
.sidebar-left .nav-main > li.nav-expanded > a {
    background: rgba(255, 255, 255, 0.10) !important;
}

ul.nav-main > li.nav-active > a,
.sidebar-left .nav-main > li.nav-active > a {
    background: #7b2fbe !important;
    box-shadow: 3px 0 0 #c084fc inset !important;
    color: #fff !important;
}

ul.nav-main > li.nav-active > a:hover,
.sidebar-left .nav-main > li.nav-active > a:hover {
    background: #7b2fbe !important;
    color: #fff !important;
}

/* Nav children (sub-menu) */
ul.nav-main ul.nav-children li a,
.sidebar-left .nav-main ul.nav-children li a {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(0, 0, 0, 0.12) !important;
}

ul.nav-main ul.nav-children li a:hover,
.sidebar-left .nav-main ul.nav-children li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.10) !important;
}

/* Top header – darker purple */
.header {
    background: #2d0f52 !important;
    border-bottom: 1px solid #3d1466 !important;
    border-top: 3px solid #2d0f52 !important;
}

.header .logo-container {
    background: #2d0f52 !important;
    border-right: 1px solid #3d1466 !important;
}

.header .separator {
    background-image: linear-gradient(rgba(255,255,255,0.15) 60%, rgba(255,255,255,0.08)) !important;
}

/* Header userbox – white text */
.header .userbox .name,
.header .userbox .email {
    color: rgba(255, 255, 255, 0.92) !important;
}

.header .userbox .role {
    color: rgba(255, 255, 255, 0.60) !important;
}

.header .userbox .custom-caret {
    color: rgba(255, 255, 255, 0.80) !important;
}

/* Toggle sidebar icon in header */
.header .toggle-sidebar-left i,
.header .sidebar-toggle i {
    color: rgba(255, 255, 255, 0.80) !important;
}

/* Return-to-parent button strip */
.header-parent-switch {
    color: rgba(255, 255, 255, 0.9);
}
