


:root {

    --csimg-fontA: 'Manrope', sans-serif;
    --csimg-fontB: 'Geologica', sans-serif;

    --csimg-colorA: #8954A8;
    --csimg-colorB: #9651bd;
    --csimg-colorC: #C8A2C8;
    --csimg-colorD: #692475;
    --csimg-colorE: #341539;
    --csimg-colorF: #FFD700;
    --csimg-colorG: #00FFFF;
    --csimg-colorG: #756969;
    --csimg-colorH: #1E90FF;

    --csimg-red: #FF6962;
    --csimg-redDark: #d94c4c;
    --csimg-blue: #1E90FF;
    --csimg-blueDark: #187bcd;
    --csimg-green: #28a784;
    --csimg-greenDark: #218f76;

}

















/* MARK: ANIMATION
   ===================================================
   ANIMATION UTILITIES
   =================================================== */

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* MARK: COMMON
   ===================================================
   UTILITY CLASSES
   =================================================== */





svg {
	width: 24px;
	height: 24px;
    fill: #1e1e1e;
}
.svg-stroke {
    stroke: #1e1e1e;
    fill: none;
}



/* Action Buttons */
.csimg-btn,
.csimg-action-btn {
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--csimg-fontA);
}
.csimg-btn-primary {
    background: #6d68cb;
    color: white;
    background: var(--csimg-colorA);
}
.csimg-btn:hover,
.csimg-action-btn:hover,
.csimg-btn-primary:hover {
    background: #005a87;
    background: var(--csimg-colorD);
    color: white;
}
.csimg-btn-secondary {
    background: #f0f0f1;
    color: #6f6f6f;
    font-weight: 700;
    transition: 0.2s all;
}
.csimg-btn-secondary:hover {
    background: #dcdcde;
    color: #1e1e1e;
    transform: translateY(-2px);
}
.csimg-btn-secondary svg {
    height: 18px;
    fill: #6f6f6f;
    margin: -1px -6px -4px;
}

.csimg-btn-outline {
    background: transparent;
    color: #6d68cb;
    border: 1px solid #6d68cb;
}
.csimg-btn-outline:hover {
    background: #6d68cb;
    color: white;
}
.csimg-btn-primary span {
    color: hsla(0, 0%, 100%, 0.9);
}
.csimg-btn-secondary span {
    color: hsla(0, 0%, 100%, 0.8);
}
.csimg-btn:disabled,
.csimg-action-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}
.csimg-btn-secondary:disabled {
    background: hsl(210deg 16.67% 95%);
    color: #adb5bd;
}

.csimg-btn-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}
.csimg-btn-2-primary {
    justify-content: center;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #667eea;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.3);
}
.csimg-btn-2-primary:hover {
    background: #5a67d8;
}
.csimg-btn-2-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}
.csimg-btn-big.loading,
.csimg-btn-2.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}
.csimg-btn-big.loading::after,
.csimg-btn-2.loading::after {
    content: '';
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    color: white;
}
.csimg-btn-2 svg {
    width: 24px;
    height: 24px;
    fill: white;
}
.csimg-btn-2 .svg-stroke {
    stroke: white;
    fill: none;
}

.csimg-btn.success:hover,
.csimg-btn-2.success:hover,
.csimg-btn-big.success:hover,
.csimg-btn.success,
.csimg-btn-2.success,
.csimg-btn-big.success {
    background: #198754;
    color: white;
}

.csimg-btn.error:hover,
.csimg-btn-2.error:hover,
.csimg-btn-big.error:hover,
.csimg-btn.error,
.csimg-btn-2.error,
.csimg-btn-big.error {
    background: #dc3545;
    color: white;
}

.csimg-btn:focus {
    outline: 0;
    box-shadow: unset;
    border: 0;
}


.actus-flex .csimg-btn-big {
    margin: 1px 0;
}
.csimg-btn-big {
    flex: 0 0 auto;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    min-width: 140px;
}
.csimg-btn-big:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}
.csimg-btn-big:active {
    transform: translateY(0);
}













.csimg-success-box {
    padding: 8px 16px;
    background: #d1fae5;
    color: #065f46;
}
.csimg-error-box {
    padding: 8px 16px;
    background: #fee2e2;
    color: #991b1b;
}
.csimg-info-box {
    background: #dbeafe;
    color: #1e40af;
}
.csimg-warning-box {
    padding: 8px 16px;
    background: #fff7ed;
    color: #9a3412;
    background: #fff3cd;
    color: #856404;
}
.csimg-gray-box {
    background: #f3f4f6;
    color: #374151;
}

.csimg-icon-red {
    background: #fee;
    color: #dc3545;
}
.csimg-icon-blue {
    background: #e3f2fd;
    color: #1976d2;
}
.csimg-icon-green {
    background: #e8f5e8;
    color: #2e7d32;
}
.csimg-icon-orange {
    background: #fff3e0;
    color: #f57c00;
}
.csimg-icon-purple {
    background: #f3e5f5;
    color: #7b1fa2;
}
.csimg-icon-teal {
    background: #e0f2f1;
    color: #00695c;
}


/*	===	LAYOUT */
.actus-flex {
    display: flex;
    gap: 8px;
}
.actus-flex-100 {
    display: flex;
    gap: 8px;
    width: 100%;
}
.actus-flex-end {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}
.actus-flex-end-center {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.actus-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.actus-flex-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.actus-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.actus-flex-1 {
    flex: 1;
}
.actus-flex-0 {
    flex: 0 0 auto;
}





/* Notifications */
.notice {
    padding: 12px 16px;
    margin: 0 0 16px 0;
    border-left: 4px solid;
    border-radius: 4px;
    position: relative;
}
.notice-success {
    background: #d1e7dd;
    color: #0f5132;
    border-left-color: #198754;
}
.notice-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}
.notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}


.csimg-caret {
    display: inline-block;
}
.csimg-caret:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s ease;
}
.csimg-caret.closed:before,
.is-closed .csimg-caret:before {
    transform: rotate(-90deg);
}





/* MARK: FORM
	===================================================
	FORM STYLES
	=================================================== */


.csimg-section {
    margin-bottom: 32px;
    padding: 24px;
    background: hsl(204, 45%, 96%);
    border-radius: 16px;
    box-shadow: 0 12px 24px hsl(0, 0%, 90%);
}
.csimg-section-header {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    margin-bottom: 8px;
}
.csimg-section-header h2 {
    margin: 0;
}
.csimg-section-header button {
    margin-top: -4px;
    padding: 6px 12px;
}
.csimg-section>.csimg-info {
    width: 100%;
    margin-bottom: 48px;
    padding: 0 20% 0 0;
    font-size: 16px;
}
[data-tab="models"] .csimg-section>.csimg-info {
    font-size: 14px;
}

/* Section Titles */
.csimg-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
X.csimg-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
    margin-left: 16px;
}


.csimg-section-title-2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.csimg-section-title-2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}
.csimg-section-title-2 span {
    font-weight: 400;
    font-size: 18px;
    opacity: 0.4;
}


.csimg-section-title-3 {
    margin: 0 0 32px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.csimg-section-title .csimg-section-icon,
.csimg-section-title-3 .csimg-section-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
    color: #6877b6;
}
.csimg-section-title-3 .csimg-section-icon svg { height: 32px; }
.csimg-section-title-3 .csimg-section-icon:empty { display: none; }


.csimg-group {
    margin-bottom: 20px;
}

.csimg-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 15px;
}

input.csimg-input,
textarea.csimg-textarea,
select.csimg-select {
    width: 100%;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    font-size: 1rem;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    font-family: var(--csimg-fontA);
}

input.csimg-input:focus,
textarea.csimg-textarea:focus,
select.csimg-select:focus {
    border-color: #667eea;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
}

textarea.csimg-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

input.csimg-input::placeholder,
textarea.csimg-textarea::placeholder {
    color: #a0aec0;
    opacity: 1;
}

input.csimg-input.csimg-small,
input.csimg-select.csimg-small {
    padding: 0 8px;
    border-radius: 8px;
}

input.csimg-input::placeholder {
    font-size: 14px;
    color: #a0aec0;
    font-style: italic;
}

.csimg-label.csimg-small {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0;
}




.csimg-toggle {
    width: 50px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}
.csimg-toggle i {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}
.csimg-toggle.csimg-active {
    background: var(--csimg-colorA);
}
.csimg-toggle.csimg-active i {
    transform: translateX(26px);
}





.csimg-multi-select-grid,
.csimg-dropdowns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.csimg-multi-select-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.csimg-submit-section {
    text-align: center;
    margin: 0 0 64px;
    padding-top: 32px;
}
.csimg-submit-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 18px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
    letter-spacing: 0.025em;
}
.csimg-submit-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(72, 187, 120, 0.4);
}
.csimg-submit-btn:active {
    transform: translateY(-1px);
}
select.csimg-select option:disabled {
    opacity: 0.3;
}
.csimg-info {
    padding: 6px 16px 0;
    font-size: 12px;
    font-style: italic;
    line-height: 1.3;
    opacity: 0.5;
}













