/**
* Open Labyrinth [ http://www.openlabyrinth.ca ]
*
* Open Labyrinth is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Open Labyrinth is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Open Labyrinth.  If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2012 Open Labyrinth. All Rights Reserved.
*
*/
body {
    background-color: #FFF;
    padding: 60px 0 40px 0;
    font-family: Helvetica, Arial, Sans-Serif;
}

/* Dark Theme Styles */
body.dark-mode {
    background-color: #2a2828 !important;
    color: #f2f2f2 !important;
}

body.dark-mode .navbar {
    background-color: #2a2828 !important;
    color: #f2f2f2;
}

body.dark-mode .navbar a {
    color: #f2f2f2 !important;
}
body.dark-mode .navbar .dropdown-menu {
    background-color: #343a40;
    color: #f2f2f2;
}
body.dark-mode .navbar .dropdown-item {
    color: #f2f2f2;
}
body.dark-mode .navbar .dropdown-item:hover {
    background-color: #495057;
    color: #f2f2f2;
}

body.dark-mode .table {
    background-color: #2a2828;
    color: #f2f2f2;
}

body.dark-mode .table tr:hover {
    background-color: #454545;
    color: white;
}

body.dark-mode .table tr:nth-child(even) {
    background-color: #343a40;
}

body.dark-mode .table th {
    background-color: #343a40;
    color: #f2f2f2;
}

body.dark-mode .card {
    background-color: #343a40 !important;
    color: #f2f2f2;
}

body.dark-mode .list-group-item {
    background-color: #343a40 !important;
    color: #f2f2f2;
}

body.dark-mode .list-group-item a {
    color: #3692BF !important;
}

body.dark-mode .breadcrumb {
    background-color: #343a40;
    color: #f2f2f2;
}

body.dark-mode .dropdown-menu {
    background-color: #343a40;
    color: #f2f2f2;
}
body.dark-mode .dropdown-item {
    color: #f2f2f2;
}
body.dark-mode .dropdown-item:hover {
    background-color: #495057;
    color: #f2f2f2;
}

body.dark-mode .modal-content {
    border-radius: 10px 10px 10px 10px;
}

body.dark-mode .modal-header {
    background-color: #979ea5;
    color: #f2f2f2;
}

body.dark-mode .modal-content {
    background-color: #ebebeb;
    color: #2e2e2e;
}
body.dark-mode .modal-footer {
    background-color: #979ea5;
}


body.dark-mode .visual-editor-right-panel {
    background-color: #343a40 !important;
    color: #f2f2f2;
}


/* Layout Stylesheet */
#outer {
    text-align:left;
    border:1px solid #ffffff;
    width:100%;
    margin:auto;
}
#hdr {

    background:#ffffff;
    color: #ffffff;
    border:solid #ffffff;
    border-width:1px 0 1px 0;
}
#bar {
    height:25px;
    background:#ffffff;
    color: #ffffff;
    border:solid #ffffff;
    border-width:1px 0 1px 0;
}
#bodyblock {
    position:relative;
    background: #ffffff;
    color: #ffffff;
    padding:0;
}
#l-col {
    float:left;
    background:#ffffff;
    color: #ffffff;
    width:145px;
    border:#ffffff;
    border-width:0 0px 0 0;
}
#cont {
    width:75%;
    background:#ffffff;
    color: #333333;
    border:10px solid #ffffff;
    border-width:8 8 8 8px;
    text-align:left;
}
#trace {
    height:30px;
    background:#ffffff;
    color: #ffffff;
    border:#ffffff;
    border-width:1px 0 0 0;
    margin:0;
}
#ftr {
    height:30px;
    background:#ffffff;
    color: #ffffff;
    border:#ffffff;
    border-width:1px 0 0 0;
    margin:0;
    padding-bottom:20px;
}
div.scroll {
    height: 95%;
    width: 95%;
    overflow: auto;
    border: 1px solid #666666;
    background-color: #cccccc;
    padding: 8px;
}
.wizard_button {
    border:1px solid #E5E5E5;

    cursor: pointer;
    display: block;


    text-decoration: none !important;

}


.wizard_button.li {
    margin:0;

}
.wizard_button.small {
    width:168px;
    height: 20px;
    line-height: 20px;
    font-weight: normal;
    font-size: 12px;
}
.wizard_button.width_auto{
    width:auto;
    padding-left:20px;
    padding-right:20px;
}

.wizard_button.selected {
    background-color: #60b3df;
}
.wizard_body {
    display: table;
    position: relative;
    width: 100%;
    padding-bottom: 65px;
    color:#000000;
    overflow: auto;
}
.wizard_body ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    overflow: hidden;
    margin:0;
    padding: 0;
}
.wizard_body ul.main {
    margin-top: 30px;
}
.wizard_body ul.nodes {
    width:100%;
}
.wizard_body ul li {
    display: inline;
    margin:2px;
    float:left;
}
.wizard_body p.li {
    text-align: left;
}
.wizard_footer {
    display: table;
    position: absolute;
    width: 100%;
    bottom:10px;
}
.wizard_body .instractions {
    float:left;
    border: 1px solid #cdcdcd;
    background: #efefef;
    width:195px;
    margin-right:10px;
    min-height: 250px;
}
.wizard_body .instractions p {
    padding: 10px;
}
.wizard_body .instractions p.header {
    margin: 0px;
    padding: 0px;
    background: #cccccc;
    font-weight: bold;
    text-align: center;
    height: 30px;
    line-height: 30px;
}
.wizard_body .visual-editor {
    width: 79%;
    float:left;
    background: #cdcdcd;
    height: 800px;
}
.wizard_body .node-editor {
    min-width: 600px;
    float:left;
    min-height: 400px;
}
.wizard_header {
    background: #d3d3e5;
    height:40px;
    padding-top:7px;
}
.wizard_header ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    overflow: hidden;
    margin:0;
    padding: 0;
}
.wizard_header li {
    display: inline;
    margin:2px;
    float:left;
}
ul.auto-list{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    border: 1px solid #aaa;
    -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
    -moz-box-shadow   : 0 4px 5px rgba(0,0,0,.15);
    -o-box-shadow     : 0 4px 5px rgba(0,0,0,.15);
    box-shadow        : 0 4px 5px rgba(0,0,0,.15);
    line-height:18px;
    cursor: default;
    padding: 0;
    margin:0;
    margin-top:-24px;
    list-style:none;
    z-index: 1000000;
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 100px;
}
ul.auto-list > li:hover,
ul.auto-list > li[data-selected=true]{
    background: #3875d7;
    color: #fff;
}
ul.auto-list > li{
    background: #fff;
    line-height: 80%;
    padding: 7px 7px 8px;
}
.navbar .brand {
    font-size: 26px;
}
.navbar .brand span {
    font-weight: 500;
}
.navbar .brand img {
    vertical-align: text-bottom;
    margin-right: 0px;
}
.navbar .nav > li > a {
    padding-top: 16px;
}
.navbar .btn, .navbar .btn-group {
    margin-top: 10px;
}
img.brand-large {
   margin: 0 10px 10px 0;
}
#tabs li {
    font-size: 14px;
}
/* Side Nav */
.sidebar-nav {
    padding: 9px 0;
}
/* Portlets */
.box {
    margin-bottom:10px;
}
.box h4.box-header {
    size:10px;
    padding: 7px 7px;
    margin: 0;
    list-style: none;
}
.box-content {
    padding:10px;
}
.box-btn {
    float:right;
    margin-left:2px;
    margin-right:2px;
    height: 14px;
    width: 14px;
    text-decoration:none;
    display: block;
    float: right;
    overflow: hidden;
    background-position:center;
    cursor:pointer;
}
.box-btn [class^="icon-"], .box-btn [class*=" icon-"] {
    vertical-align:top;
}
.box-container-closed {
    display:none;
}
/* Portlets */
.box-placeholder {
    background-color: #f5f5f5;
    border: 1px dashed #DDDDDD;
    display: block;
    margin-bottom: 13px !important;
    margin-left: 1%;
    margin-right: 0.6%;
}
.box-placeholder * {
    visibility:hidden;
}
.column {
    min-height:20px;
}
/* Member Box - Side Nav */
.member-box {
    display:block;
    padding:10px;
}
img.member-box-avatar {
    height:32px;
    width:32px;
    padding:1px;
    margin-right:10px;
    float:left;
}
.member-box-links {
    font-size:85%;
}
/* Show Grid */
.show-grid {
    margin-bottom: 10px;
    margin-top: 10px;
}
.show-grid [class*="span"] {
    line-height: 30px;
    min-height: 30px;
    text-align: center;
}
.show-grid .show-grid {
    margin-bottom: 0;
    margin-top: 0;
}
/* Forms */
.box form {
    margin:0;
}
.box .form-actions {
    margin-bottom:0px;
}
.sidebar-nav .well {
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}
/* Other */
.action-btn {
    text-align:center;
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
    margin-top:0px;
    margin-bottom:20px;
    padding:10px;
}
/* Portlets */
.box h4.box-header {
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}
.box .box-container-toggle {
    border-left:1px solid #DDD;
    border-right:1px solid #DDD;
    border-bottom:1px solid #DDD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-top-left-radius: 0px;
    -moz-border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px
}
.box-btn {
    border:1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    -moz-box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
    -webkit-box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
    box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
}
/* Round Corners and text effects
----------------------------------------------------------------------------------------------------*/
.round-all {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.round-top {
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-radius: 3px 3px 0 0;
}
.round-bottom {
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-radius: 0 0 3px 3px;
}
.round-left {
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-radius: 3px 0 0 3px;
}
.round-right {
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    border-radius:0 3px 3px 0;
}
/* Member Box - Side Nav */
.member-box {
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}
img.member-box-avatar {
    border:1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/* Dashboard  */
.box ul.dashboard-statistics li, ul.dashboard-member-activity li {
    border-bottom: 1px solid #ebebeb;
    border-top: 1px solid #fff;
}
.red {
    color:#B94A48;
}
.green {
    color:#468847
}
.yellow {
    color:#F89406
}
.blue {
    color:#3A87AD;
}
img.dashboard-member-activity-avatar {
    border:1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/* Show Grid */
.show-grid [class*="span"] {
    background: none repeat scroll 0 0 #EEEEEE;
    border-radius: 3px 3px 3px 3px;
}
.show-grid:hover [class*="span"] {
    background: none repeat scroll 0 0 #DDDDDD;
}
.show-grid .show-grid [class*="span"] {
    background-color: #CCCCCC;
}

body {
    padding-bottom: 40px;
    padding-top: 60px;
    /*font-size: 100%;*/
}

td[colspan*="0"],
td[colspan*="1"],
td[colspan*="2"],
td[colspan*="3"],
td[colspan*="4"],
td[colspan*="5"],
td[colspan*="6"],
td[colspan*="7"],
td[colspan*="8"],
td[colspan*="9"],
td[colspan*="11"] {
   text-align: center;
    font-size: 80%;
    font-style: italic;
}

.visual-editor-right-panel {
    display: block;
    background-color: #eeeeee;
    width: 600px;
    height: 700px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    border-radius: 5px;
}

.visual-editor-right-panel .tab-content {
    display: flex;
    padding: 10px;
    flex-direction: column;
    height: 600px;
    overflow-y: auto;
}

.visual-editor-right-panel.hide {
    display: none;
}

.visual-editor-right-panel .footer {
    text-align: center;
    padding-top:10px;
    padding-bottom:10px;
}

.visual-editor-right-panel input {
    margin-right: 2px;
    margin-right: 2px;
}

.visual-editor-select-right-panel {
    display: block;
    background-color: #eeeeee;
    width: 480px;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 1000;
}

.visual-editor-select-right-panel.hide {
    display: none;
}

.visual-editor-select-right-panel .footer {
    text-align: center;
    padding-top:10px;
    padding-bottom:10px;
}

.child-block {
    display: block;
}

.child-block div {
    display: block;
}

.accordion .node-panel {
    display: none;
}

.accordion.node-panel .node-panel {
    display: block;
}

.clearCursor {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.deleteModalHeaderNode {
    display: none;
}

.deleteModalHeaderNodes {
    display: none;
}

.deleteModalContentNode {
    display: none;
}

.deleteModalContentNodes {
    display: none;
}


.metadata-container .controls >div{
    margin-top:10px;
    margin-bottom: 10px;
    float:left;
    width:100%;
}


.metadata-container .controls >div.modal{

    width:auto;
}

.modal-body div{
    max-height: 300px;
    overflow-y: auto;
}

.inlineobjectrecord > .control-subgroup {
    margin-left: 0;
}

.btn [class^="icon-"], .nav [class^="icon-"], .btn [class*=" icon-"], .nav [class*=" icon-"] {

    margin-right: 3px;
}

fieldset{
    margin-bottom: 10px;
    max-width:80%;
}
.btn-group > select {
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.btn-group > select:first-child {
    margin-left: 0;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
}

.btn-group > select:last-child,
{
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
}

.control-label > .pull-right{
    margin-top: 0;
    width: 100%;
}

a.toggles {
    position: fixed;
    left: 0;
    bottom: 50%;
    display: block;
    background-color: white;
    padding: 10px 5px;
    border: 1px solid #ddd;
}

a.toggles:hover{
    text-decoration: none;
}

#content.span12{
    margin-left:0;
}

input[readonly].code, textarea[readonly].code{
    cursor:text;
}

.round-btn {
    height: 30px;
    width: 30px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    background-color: #969595;
    /* background-image: -moz-linear-gradient(top, #bebdbd, #9c9b9b);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bebdbd), to(#9c9b9b));
    background-image: -webkit-linear-gradient(top, #bebdbd, #9c9b9b);
    background-image: -o-linear-gradient(top, #bebdbd, #9c9b9b);
    background-image: linear-gradient(to bottom, #bebdbd, #9c9b9b); */
    background-repeat: repeat-x;
    border: none;
    /* box-shadow: inset 1px -1px 1px #6E6D6D;
    -moz-box-shadow: inset 1px -1px 1px #6E6D6D;
    -webkit-box-shadow: inset 1px -1px 1px #6E6D6D; */
}

.round-btn:hover,
.round-btn.active {
    background-color: #777676;
    background-image: none;
    box-shadow: inset -2px 1px 2px #4F4E4E;
    -moz-box-shadow: inset -2px 1px 2px #4F4E4E;
    -webkit-box-shadow: inset -2px 1px 2px #4F4E4E;
}

.round-btn.disabled {
    background-color: #CDCCCC;
    background-image: none;
}

[class^="ve-icon-"],
[class*=" ve-icon-"] {
  display: inline-block;
  width: 17px;
  height: 19px;
  margin-top: 1px;
  *margin-right: .3em;
  line-height: 10px;
  vertical-align: text-top;
  background-image: url("../images/visual_editor_icons.png");
  background-position: 17px 19px;
  background-repeat: no-repeat;
}

.ve-icon-save {
    background-position: 0 0;
    margin-top: -4px;
}

.ve-icon-add {
    background-position: -18px 0;
    margin-top: -4px;
}

.ve-icon-pan {
    background-position: -36px 0;
    margin-top: -2px;
}

.ve-icon-select {
    background-position: -54px 0;
    margin-top: -4px;
}

.ve-icon-template {
    background-position: -72px 0;
    margin-top: -4px;
}

.ve-icon-zoom-in {
    background-position: -90px 0;
    margin-top: -4px;
}

.ve-icon-zoom-out {
    background-position: -108px 0;
    margin-top: -4px;
}

.ve-icon-fullscreen {
    background-position: -189px 0;
    margin-top: -4px;
}

.ve-icon-copy {
    background-position: -124px 0;
    margin-top: -3px;
}

.ve-icon-color {
    background-position: -159px 0;
    margin-top: -3px;
}

.ve-icon-paste {
    background-position: -141px 0;
    margin-top: -3px;
}

.ve-icon-delete {
    background-position: -174px 0;
    margin-top: -3px;
    width: 15px;
}

.ve-icon-settings {
    background-position: -207px 0;
    margin-top: -3px;
    margin-left: 0;
    width: 16px;
}

.ve-icon-redo {
    background-position: -242px 0;
    margin-top: -3px;
    width: 16px;
}

.ve-icon-undo {
    background-position: -225px 0;
    margin-top: -3px;
    width: 16px;
}

.ve-icon-section {
    background-position: -259px 0;
    margin-top: -3px;
    width: 16px;
}

.visual-editor-right-panel-tabs {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding-top: 5px;
    background-color: #a1a1a1;
    cursor: move;
}

.visual-editor-right-panel-tabs ul {
    margin-left: 15px;
    border-bottom: none;
}

.visual-editor-right-panel-tabs ul li {
    margin-right: 5px;
}

.visual-editor-right-panel-tabs ul li a {
    color: #ffffff;
}

.visual-editor-right-panel-tabs li a:hover,
.visual-editor-right-panel-tabs li.active a {
    box-shadow: 2px -2px 3px 0 rgba(141,141,141, 0.5);
    -moz-box-shadow: 2px -2px 3px 0 rgba(141,141,141, 0.5);
    -webkit-box-shadow: 2px -2px 3px 0 rgba(141,141,141, 0.5);
    background-color: #eeeeee;
    color: #605f5f;
}

.visual-editor-right-panel-tabs li.active a:hover {
    background-color: #eeeeee;
}

.wizard_body .visual-editor-right-panel-tabs ul li {
    margin: 0;
    margin-right: 5px;
}

.visual-editor-select-right-panel .visual-editor-right-panel-tabs {
    height: 37px;
}

.question-btn-container {
    margin-bottom: 10px;
}

.question-copy-form {
    margin-bottom: 0;
}

.radio_extended.btn-group input[type="radio"] {
    display: none;
}

.radio_extended.btn-group > label:first-of-type {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    margin-left: 0;
}

.floating-header {
    position: fixed;
    top: 52px;
    visibility: hidden;
}

@media (max-width: 767px) {
    .floating-header {
        position: fixed;
        top: 0px;
        visibility: hidden;
    }
}

.floating-header th {
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.logic-btn {
    margin-bottom: 10px;
}

.main-edit-panel {
    width: 370px;
    height: 170px;
    position: fixed;
    top: 52px;
    right: 0;
    z-index: 1000;
    background-color: #eeeeee;
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.main-edit-panel .header {
    height: 30px;
    background-color: #a1a1a1;
}

.main-edit-panel .edit-content {
    padding: 5px;
}

.main-edit-panel .edit-content .edit-controls {
    display: table;
}

.main-edit-panel .edit-content .edit-controls .edit-row {
    display: table-row;
}

.main-edit-panel .edit-content .edit-controls .edit-row .edit-cell {
    display: table-cell;
    padding: 3px;
}

.main-edit-panel .edit-content .edit-controls .edit-row .edit-cell input[type="text"] {
    margin-bottom: 0;
    width: 90px;
}

.selected-text {
    background-color: #38d878;
}

.editable-text {
    z-index: 10;
    background-color: #ffffff;
    width: 220px;
    height: 50px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.canvas-action-buttons-container {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 70px;
}

.canvas-action-buttons-container p {
    text-align: center;
}

.canvas-action-buttons-container p.left {
    float: left;
    margin-right: 8px;
}

.canvas-action-buttons-container p.text {
    color: #ffffff;
    font-size: 16px;
    text-shadow: 1px 1px 1px #4F4E4E;
}

.flip-h {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: 'FlipH';
}

.oauth-line {
    width: 220px;
    display: table;
}

.oauth-line div {
    display: table-cell;
}

.oauth-line div.line {
    width: 100px;
    vertical-align: middle;
}

.oauth-line div.text {
    padding: 0px 5px;
    color: #555555;
}

.oauth-line div.line div {
    width: 100px;
    border-bottom: 1px solid #555555;
    padding: 0px 5px;
}

.oauth-icon-line {
    width: 220px;
    text-align: center;
    margin-bottom: 10px;
}

.oauth-icon-line img {
    margin-bottom: 3px;
    margin-top: 3px;
}

.visual-display-panel {
    width: 100%;
}

.visual-display-panel .panel-title {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 40px;
    color: #333333;
    border-bottom: 1px solid #e5e5e5;
}

.visual-display-panel .block {
    float: left;
    margin-right: 10px;
}

.visual-display-panel .block:last-child {
    clear: both;
}

.panel-control-group {
    display: table;
    margin-bottom: 10px;
}

.panel-control-group .row {
    display: table-row;
}

.panel-control-group .panel-control-label {
    display: table-cell;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    text-align: right;
}

.panel-control-group .panel-control {
    display: table-cell;
    padding-bottom: 10px;
}

.panel-control-group .panel-control input[type="text"] {
    margin-bottom: 0;
    width: 80px;
}

.panel-control-group .panel-control select {
    width: 100px;
    margin-bottom: 0;
}

.visual-display {
    width: 100%;
    height: 1000px;
    position: relative;
}

.visual-display-images-container {
    min-height: 140px;
    /*max-width: 500px;*/
    overflow-x: auto;
}

.visual-display-images-container .images {
    display: table;
}

.visual-display-images-container .images div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
}

.visual-display-images-container .images div:hover {
    cursor: pointer;
    background-color: #eeeeee;
}

.visual-display-images-container .images div img {
    max-width: 70px;
}

.visual-display-counter-container {
    min-height: 140px;
    overflow-x: auto;
}

.visual-display-counter-container .counters {
    display: table;
}

.visual-display-counter-container .counters .counter-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
}

.visual-display-counter-container .counters .counter-container:hover {
    cursor: pointer;
    background-color: #eeeeee;
}

.clear {
    clear: both;
}

.visual-display-layout-panel {
    max-height: 1000px;
    overflow-y: auto;
}

.visual-diplay-layout {
    width: 100px;
    height: 100px;
    background-color: #fbfbfb;
    margin: 0 auto;
    position: relative;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.visual-diplay-layout .couter-layout-delete-btn {
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.visual-diplay-layout .couter-layout-delete-btn:hover {
    background-color: #eee;
    cursor: pointer;
}

.visual-diplay-layout .couter-layout-eye-btn {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.visual-diplay-layout .couter-layout-eye-btn:hover {
    background-color: #eee;
    cursor: pointer;
}

.visual-diplay-layout .title {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    height: 26px;
    line-height: 26px;
    background-color: #ddd;
    color: #7d7d7d;
}

.visual-diplay-layout.panel .content {
    border: 1px solid #999;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 23px;
    left: 35px;
}

.visual-diplay-layout.image .content {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 23px;
    left: 35px;
    text-align: center;
}

.visual-diplay-layout.image .content img {
    max-width: 30px;
    max-height: 30px;
}

.visual-diplay-layout.counter .content {
    position: absolute;
    top: 20px;
    width: 100%;
}

.visual-diplay-layout.counter .content .icon {
    width: 30px;
    height: 24px;
    background: url('../images/counter-layout.png');
    background-repeat: no-repeat;
    margin: 0 auto;
}

.visual-diplay-layout.counter .content .name {
    font-size: 10px;
    color: #7d7d7d;
    margin: 0 auto;
    text-align: center;
}

.file-upload-btn {
    position: relative;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 108px;

}

.fileinput-button {
    margin-bottom: 10px;
}

#mainDisplayImageContianer {
    width: 80%;
}

#mainCounterContainer {
    width: 65%;
}

.btn-group select {
    margin-bottom: 0;
}

.selectBoxArrow {
    margin-top:1px;
    float:left;
    position:absolute;
    right:1px;
}

.selectBoxInput {
    border:0px;
    padding-left:1px;
    height: 20px;
    position:absolute;
    top:0px;
    left:0px;
}

.selectBox {
    height:20px;
    padding: 4px 6px;
}

.selectBoxOptionContainer{
    position:absolute;
    border:1px solid #7f9db9;
    height:100px;
    background-color:#FFF;
    left:0px;
    top:28px;
    visibility:hidden;
    overflow:auto;
    z-index:1000;
}

.selectBoxIframe{
    position:absolute;
    background-color:#FFF;
    border:0px;
    z-index:999;
}

.selectBoxAnOption{
    font-family:arial;
    font-size:12px;
    cursor:default;
    margin:1px;
    overflow:hidden;
    white-space:nowrap;
}

.farbtastic-container div {
    margin: 0 auto;
}

.question-info-box {
    font-size: 10px;
    line-height: 10px;
    color: #A0A0A0;
}

.root-error-container {
    z-index: 1500;
    text-align: center;
    position: fixed;
    top: 57px;
    width: 100%;
    margin: 0 auto;
}

.root-error-container .root-alert {
    min-width: 220px;
    max-width: 940px;
    margin: 0 auto;
}


.installation {
    margin:0 auto;
    display: block;
    width:900px;
}

.installation .badge {
    padding: 1px 9px 2px;
}

.installation .step.active span {
    background-color: #1B75BB;
}

.installation .nav-tabs > li > span {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    display: block;
    line-height: 18px;
    margin-right: 2px;
    padding: 8px 12px;
}

.installation .form-horizontal .control-label {
    width:170px;
}

table.dataTable tr.odd td[class*='sorting'] {
    background-color: #E0E0E0 !important;
}

table.dataTable tr.even td[class*='sorting'] {
    background-color: #F0F0F0 !important;
}

body.dark-mode table.dataTable tr.odd td[class*='sorting'] {
    background-color: #3a3a3a !important;
}

body.dark-mode table.dataTable tr.even td[class*='sorting'] {
    background-color: #7a7a7a !important;
}

.search-selected {
    background-color: #ffff00;
}

.question-response-panel-group .panel {
    margin-bottom: 5px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.question-response-panel-group .panel .panel-heading {
    background-color: #fbfbfb;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.question-response-panel-group .panel .panel-heading label {
    float: left;
    padding-top: 5px;
    line-height: 20px;
    color: #333333;
    font-size: 21px;
    margin-right: 5px;
}

.question-response-panel-group .panel-collapse.collapse.in {
    border-top: 1px solid #dddddd;
}

.question-response-panel-group .panel-collapse .panel-body {
    padding-top: 10px;
    background-color: #ffffff;
    padding-bottom: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
}

.question-response-panel-group .panel-collapse .panel-body .control-group:last-child {
    margin-bottom: 0px;
}

.question-response-panel-group .panel-collapse .panel-body .control-group label.control-label {
    width: 105px;
}

.question-response-panel-group .panel-collapse .panel-body .control-group .controls {
    margin-left: 110px;
}

.question-response-draggable-panel-group .response-panel {
    margin-bottom: 5px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #fbfbfb;
    cursor: pointer;
    padding: 5px 10px;
}

.question-response-draggable-panel-group .response-panel label {
    float: left;
    padding-top: 5px;
    line-height: 20px;
    color: #333333;
    font-size: 21px;
    margin-right: 5px;
}

.contributors-list {
    float: left;
    list-style: none;
}

.contributors-list li {
    margin-bottom: 5px;
    height: 60px;
    border: 1px solid #E3E3E3;
    padding: 5px 0px 5px 5px;
    background-color: #FBFBFB;
}

.contributors-list li p {
    float: left;
    margin-right: 5px;
}

.contributors-list li a {
    margin-top: 26px;
}

 /* custom rules */
 .list-group-item {
    border-width: 0!important;
 }

.list-group-item a {
    color: #0088CC;
}

/* List group within cards - keep borders for better visual separation */
.card .list-group-item {
    border-width: 1px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid var(--ol-border-color) !important;
    padding: 0.75rem 1.25rem;
}

.card .list-group-item:first-child {
    border-top: 1px solid var(--ol-border-color) !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card .list-group-item:last-child {
    border-bottom: none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Inner card styling for nested card layouts */
.card .inner-card {
    border: 1px solid var(--ol-border-color);
    border-radius: var(--ol-radius-sm);
    background-color: var(--ol-gray-light);
}

.card .inner-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--ol-border-color);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.card .inner-card .card-body {
    padding: 1rem;
    background-color: white;
    border-radius: 0 0 var(--ol-radius-sm) var(--ol-radius-sm);
}

/* === Dark Theme Overrides === */
.dark-theme {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-theme body,
.dark-theme #outer,
.dark-theme #hdr,
.dark-theme #bar,
.dark-theme #bodyblock,
.dark-theme #l-col,
.dark-theme #cont,
.dark-theme #trace,
.dark-theme #ftr {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    border-color: #2c2c2c !important;
}

.dark-theme .wizard_body .instractions,
.dark-theme .wizard_body .instractions p.header,
.dark-theme .wizard_body .visual-editor,
.dark-theme .wizard_body .node-editor,
.dark-theme .wizard_header,
.dark-theme .wizard_body .visual-editor-right-panel-tabs,
.dark-theme .visual-editor-right-panel,
.dark-theme .main-edit-panel,
.dark-theme .question-response-panel-group .panel .panel-heading {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

.dark-theme .btn,
.dark-theme .wizard_button,
.dark-theme .round-btn {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

.dark-theme a {
    color: #80cbc4;
}

.dark-theme a:hover {
    color: #4db6ac;
}

.dark-theme .panel-control-group .panel-control-label {
    color: #b0bec5;
}

.dark-theme input,
.dark-theme select,
.dark-theme textarea {
    background-color: #2e2e2e;
    color: #e0e0e0;
    border: 1px solid #444;
}

.dark-theme .question-response-panel-group .panel .panel-collapse .panel-body {
    background-color: #1a1a1a;
}

/* ============================================
       OpenLabyrinth Modern Theme Overrides
       Global CSS that overrides Bootstrap 4 defaults
       Include this file in your layout to apply across all pages
       ============================================ */

    /* CSS Custom Properties for easy theming */
    :root {
        /* Primary Colors */
        --ol-primary: #4361ee;
        --ol-primary-dark: #3a56d4;
        --ol-primary-light: #6a89f8;
        --ol-primary-subtle: rgba(67, 97, 238, 0.1);
        
        /* Success Colors */
        --ol-success: #4cc9f0;
        --ol-success-dark: #3bb8e8;
        --ol-success-light: #77d7f5;
        --ol-success-subtle: rgba(76, 201, 240, 0.1);
        
        /* Neutral Colors */
        --ol-gray: #6c757d;
        --ol-gray-light: #f8f9fa;
        --ol-gray-dark: #343a40;
        --ol-border-color: rgba(0, 0, 0, 0.08);
        
        /* Shadows */
        --ol-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
        --ol-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        --ol-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
        
        /* Border Radius */
        --ol-radius: 12px;
        --ol-radius-sm: 8px;
        
        /* Typography */
        --ol-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        --ol-heading-color: #1a1a2e;
        --ol-text-muted: #6c757d;
        
        /* Transitions */
        --ol-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ============================================
       Base Typography Overrides
       ============================================ */
    body {
        font-family: var(--ol-font-sans);
        font-size: 14px;
        line-height: 1.6;
        color: var(--ol-gray-dark);
        background-color: #f8f9fc;
    }
    
    h1, h2, h3, h4, h5, h6,
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-family: var(--ol-font-sans);
        font-weight: 600;
        color: var(--ol-heading-color);
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .lead {
        font-size: 1.125rem;
        font-weight: 400;
        color: var(--ol-text-muted);
    }
    
    .text-muted {
        color: var(--ol-text-muted) !important;
    }
    
    a {
        color: var(--ol-primary);
        text-decoration: none;
        transition: var(--ol-transition);
    }
    
    a:hover {
        color: var(--ol-primary-dark);
    }

    /* ============================================
       Card Component Redesign
       ============================================ */
    .card {
        background: white;
        border: 1px solid var(--ol-border-color);
        border-radius: var(--ol-radius) !important;
        box-shadow: var(--ol-shadow-sm);
        transition: var(--ol-transition);
    }
    
    .card:hover {
        box-shadow: var(--ol-shadow-lg);
        border-color: rgba(0, 0, 0, 0.12);
    }
    
    .card-header {
        background: transparent;
        border-bottom: 1px solid var(--ol-border-color);
        padding: 1rem 1.25rem;
        font-weight: 600;
        color: var(--ol-gray-dark);
        font-size: 0.9375rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    
    .card-header.bg-primary {
        background: linear-gradient(135deg, var(--ol-primary) 0%, var(--ol-primary-dark) 100%) !important;
        border-bottom: none;
        color: white;
        text-transform: none;
        letter-spacing: normal;
        font-size: 1rem;
    }
    
    .card-header.bg-light {
        background: var(--ol-gray-light) !important;
    }
    
    .card-body {
        padding: 1.25rem;
        color: var(--ol-gray-dark);
    }
    
    .card-title {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--ol-heading-color);
    }

    /* ============================================
       Button Component Redesign
       ============================================ */
    .btn {
        font-family: var(--ol-font-sans);
        font-weight: 500;
        border-radius: var(--ol-radius-sm);
        padding: 0.5rem 1rem;
        transition: var(--ol-transition);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        border: 1px solid transparent;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .btn-primary {
        background: var(--ol-primary);
        border-color: var(--ol-primary);
        color: white;
    }
    
    .btn-primary:hover {
        background: var(--ol-primary-dark);
        border-color: var(--ol-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
    }
    
    .btn-primary:active {
        transform: translateY(0);
    }
    
    .btn-success {
        background: var(--ol-success);
        border-color: var(--ol-success);
        color: white;
    }
    
    .btn-success:hover {
        background: var(--ol-success-dark);
        border-color: var(--ol-success-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(76, 201, 240, 0.3);
    }
    
    .btn-outline-primary {
        background: transparent;
        border-color: var(--ol-primary);
        color: var(--ol-primary);
    }
    
    .btn-outline-primary:hover {
        background: var(--ol-primary-subtle);
        border-color: var(--ol-primary-dark);
        color: var(--ol-primary-dark);
        transform: translateY(-1px);
    }
    
    .btn-outline-success {
        background: transparent;
        border-color: var(--ol-success);
        color: var(--ol-success);
    }
    
    .btn-outline-success:hover {
        background: var(--ol-success-subtle);
        border-color: var(--ol-success-dark);
        color: var(--ol-success-dark);
        transform: translateY(-1px);
    }
    
    .btn-outline-secondary {
        background: transparent;
        border-color: #dee2e6;
        color: var(--ol-gray);
    }
    
    .btn-outline-secondary:hover {
        background: rgba(0, 0, 0, 0.03);
        border-color: #adb5bd;
        color: var(--ol-gray-dark);
    }
    
    .btn-outline-info {
        background: transparent;
        border-color: var(--ol-success);
        color: var(--ol-success);
    }
    
    .btn-outline-info:hover {
        background: var(--ol-success-subtle);
        border-color: var(--ol-success-dark);
        color: var(--ol-success-dark);
        transform: translateY(-1px);
    }
    
    .btn.disabled,
    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* Action button styling for export and other action buttons */
    .btn-outline-secondary:hover,
    .btn-outline-primary:hover,
    .btn-outline-danger:hover,
    .btn-outline-info:hover {
        transform: translateY(-1px);
    }

    .btn-outline-secondary:active,
    .btn-outline-primary:active,
    .btn-outline-danger:active,
    .btn-outline-info:active {
        transform: translateY(0);
    }

    /* Icon button specific styling */
    .btn i.fa-solid,
    .btn i.fab,
    .btn i.fas {
        vertical-align: middle;
    }

    /* Export button group styling */
    .btn-group .btn-outline-secondary,
    .btn-group .btn-outline-primary,
    .btn-group .btn-outline-danger {
        border-radius: var(--ol-radius-sm);
    }

    .btn-group .btn-outline-secondary:not(:first-child),
    .btn-group .btn-outline-primary:not(:first-child),
    .btn-group .btn-outline-danger:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .btn-group .btn-outline-secondary:not(:last-child),
    .btn-group .btn-outline-primary:not(:last-child),
    .btn-group .btn-outline-danger:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    /* ============================================
       Table Component Redesign
       ============================================ */
    .table {
        width: 100%;
        margin-bottom: 1rem;
        color: var(--ol-gray-dark);
    }
    
    .table th,
    .table td {
        padding: 0.75rem 1rem;
        vertical-align: middle;
    }
    
    .table-hover tbody tr:hover {
        background-color: rgba(67, 97, 238, 0.04);
    }
    
    .table-borderless th,
    .table-borderless td {
        border: none;
    }
    
    table.table td {
        border-top: 1px solid var(--ol-border-color);
    }
    
    table.table tbody + tbody {
        border-top: 2px solid var(--ol-border-color);
    }

    /* ============================================
       Badge Component Redesign
       ============================================ */
    .badge {
        display: inline-block;
        padding: 0.25em 0.65em;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1;
        color: white;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 9999px;
    }
    
    .badge-success {
        background-color: var(--ol-success);
    }
    
    .text-success {
        color: var(--ol-success) !important;
    }
    
    .text-warning {
        color: #f8961e !important;
    }
    
    .text-primary {
        color: var(--ol-primary) !important;
    }

    /* ============================================
       Utility Classes
       ============================================ */
    .shadow-sm {
        box-shadow: var(--ol-shadow-sm) !important;
    }
    
    .border-0 {
        border: none !important;
    }
    
    .text-gradient {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .bg-light {
        background-color: var(--ol-gray-light) !important;
    }
    
    .g-3 {
        gap: 0.75rem;
    }
    
    .g-4 {
        gap: 1.25rem;
    }
    
    /* ============================================
       Form and Input Overrides
       ============================================ */
    .form-control {
        border-radius: var(--ol-radius-sm);
        border-color: var(--ol-border-color);
        padding: 0.5rem 0.75rem;
        transition: var(--ol-transition);
    }
    
    .form-control:focus {
        border-color: var(--ol-primary);
        box-shadow: 0 0 0 0.2rem var(--ol-primary-subtle);
    }
    
    .form-select {
        border-radius: var(--ol-radius-sm);
        border-color: var(--ol-border-color);
        padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    }

    /* Form group styling */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group row {
        margin-bottom: 1rem;
    }

    .col-form-label {
        font-weight: 500;
    }

    .text-md-right {
        text-align: right;
    }

    /* Input group styling */
    .input-group-text {
        background-color: var(--ol-gray-light);
        border: 1px solid var(--ol-border-color);
        border-radius: var(--ol-radius-sm);
    }

    .input-group .form-control:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .input-group .form-control:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    /* ============================================
       Layout and Spacing
       ============================================ */
    .container,
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    
    [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* ============================================
       Responsive Adjustments
       ============================================ */
    @media (max-width: 768px) {
        .container,
        .container-fluid {
            padding-left: 1rem;
            padding-right: 1rem;
        }
        
        h1 { font-size: 1.75rem; }
        h2 { font-size: 1.5rem; }
        h3 { font-size: 1.25rem; }
        
        .d-flex.align-items-center.gap-4 {
            flex-direction: column;
            text-align: center;
        }
        
        .text-gradient {
            font-size: 1.75rem;
        }
        
        .gap-3 {
            gap: 0.75rem;
        }
        
        .gap-4 {
            gap: 1rem;
        }
    }
    
    /* ============================================
       Animation Utilities
       ============================================ */
    .fade-in {
        animation: fadeIn 0.3s ease-in-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Collapse transition for jQuery slideUp/slideDown */
    .collapse:not(.show) {
        display: none;
    }

    .collapse {
        display: block;
    }

    .collapse.show {
        display: block;
    }

    /* Collapsible section labels */
    [data-bs-toggle="collapse"],
    [data-toggle="collapse"] {
        cursor: pointer;
        user-select: none;
    }

    [data-bs-toggle="collapse"] i.fa-chevron-down,
    [data-bs-toggle="collapse"] i.fa-chevron-right,
    [data-toggle="collapse"] i.fa-chevron-down,
    [data-toggle="collapse"] i.fa-chevron-right {
        transition: transform 0.3s ease;
    }

    /* ============================================
       Page-Specific Fixes
       ============================================ */
    .d-flex.flex-wrap.gap-3 {
        gap: 0.75rem;
    }
    
    .flex-fill.flex-sm-grow-0 {
        flex: 1 1 auto;
    }
    
    @media (min-width: 576px) {
        .flex-fill.flex-sm-grow-0 {
            flex: 0 0 auto;
        }
    }
    
    .mr-2 {
        margin-right: 0.5rem;
    }

    .me-1 {
        margin-inline-end: 0.25rem;
    }

    .me-2 {
        margin-inline-end: 0.5rem;
    }

    .me-3 {
        margin-inline-end: 1rem;
    }

    /* Button icon spacing */
    .btn i.me-1,
    .btn i.mr-1 {
        margin-inline-end: 0.25rem;
    }
