:root {
    --primaryAcs : #0073aa;
    --phpAcs:#8892bf;
    --htmlAcs: #e34f26;
    --cssAcs : #2965f1;
    --jsAcs : #f7df1e;
}

/* Display */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.flex-basis-auto { flex-basis: auto; }

.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.self-stretch { align-self: stretch; }

.position-relative{position: relative;}
.position-absolute{position: absolute;}
.position-fixed{position: fixed;}
.position-sticky{position: sticky;}

.disabled { user-select: none; pointer-events: none; opacity: 0.8;}
/* Spacing Utilities */
.g-02 { gap: 0.2rem; }
.g-05 { gap: 0.5rem; }
.g-1 { gap: 1rem; }
.g-2 { gap: 2rem; }
.g-3 { gap: 2.5rem; }
.g-4 { gap: 3rem; }

/* Float Utilities */
.float-left { float: left; }
.float-right { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Width and Height */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

.h-100 { height: 100%; }
.min-w-100 { min-width: 100%; }
.min-h-100 { min-height: 100%; }

.max-w-100 { max-width: 100%; }
.max-h-100 { max-height: 100%; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-nowrap { white-space: nowrap; }
.text-wrap { white-space: wrap; }

.spacer-1{min-width: 25px;}
.spacer-2{min-width: 50px;}
.spacer-3{min-width: 75px;}
.spacer-4{min-width: 100px;}

.vspacer-1{min-height: 0.5rem;}
.vspacer-2{min-height: 1rem;}
.vspacer-3{min-height: 1.5rem;}
.vspacer-4{min-height: 2rem;}

.mx-3 { margin-left:0.5rem; margin-right: 0.5rem; }
.my-3 { margin-top: 0.5rem; margin-bottom: 0.5rem; }

.m-0 { margin: 0; }
.m-4  { margin: 1rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-4 { margin-left: 1rem; }
.mr-4 { margin-right: 1rem; }
.mx-4 { margin-left:1rem; margin-right: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

.p-0 { padding: 0 !important; }
.p-4  { padding: 1rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }
.px-4 { padding-left:1rem; padding-right: 1rem; }
.py-4 { padding-top:1rem; padding-bottom: 1rem; }

.box-middle{display: flex;align-items: center;}
.container {
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-size: 18px;
}

.position-relative { position: relative;}
.loader-bg{
    display: none;
    justify-content: center;
    height: 80vh;
    align-items: center;
}

.smack-acs.nav-tab-wrapper .nav-tab { cursor: pointer; min-width: 80px; }
.smack-acs.nav-tab-wrapper .nav-tab-active { background-color: #fff;}
.smack-acs.nav-tab-wrapper .nav-tab.all-tab { border-left: 4px solid var(--primaryAcs);}
.smack-acs.nav-tab-wrapper .nav-tab.php-tab { border-left: 4px solid var(--phpAcs); }
.smack-acs.nav-tab-wrapper .nav-tab.html-tab { border-left: 4px solid var(--htmlAcs); }
.smack-acs.nav-tab-wrapper .nav-tab.css-tab { border-left: 4px solid var(--cssAcs); }
.smack-acs.nav-tab-wrapper .nav-tab.js-tab { border-left: 4px solid var(--jsAcs); }
.smack-acs.nav-tab-wrapper .nav-tab img {
    width:20px; height:20px; 
    vertical-align:middle; margin-right:5px;
}

.smack-acs-tag {
    background: #ccc;
    padding: 2px 10px;
    padding-right: 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
}

.smack-acs-remove-tag {
    background: none;
    border: none;
    color: #666;
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

.smack-acs-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.smack-acs-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.smack-acs-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.smack-acs-toggle input:checked + .smack-acs-slider {
    background-color: #4CAF50;
}

.smack-acs-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.smack-acs-toggle input:checked + .smack-acs-slider:before {
    transform: translateX(20px);
}

.smack-acs-loader {
    display: none;
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: smack-spin 0.6s linear infinite;
    position: absolute;
    top: 3px;
    left: 3px;
}

.smack-acs-slider.loading .smack-acs-loader {
    display: block;
}

.smack-acs-slider.loading:before {
    display: none;
}

@keyframes smack-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}