main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

/* ========================================
   ADMIN LAYOUT STYLES
   ======================================== */

/* Page Header Styles */
.page-header {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.page-subtitle {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Form Card Styles */
.form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    border-bottom: 2px solid #e0e0e0;
}

.form-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-card-icon {
    font-size: 24px;
}

.form-card-subtitle {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

.form-card-body {
    padding: 30px;
}

/* Modern Form Controls */
.form-control-modern {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.modern-form label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.modern-form .hint-block {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
    font-style: italic;
}

.modern-form .invalid-feedback {
    font-size: 13px;
    color: #dc3545;
    margin-top: 5px;
}

.modern-form .has-error .form-control-modern {
    border-color: #dc3545;
}

/* Form Actions */
.form-actions {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #e0e0e0;
    color: #718096;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #cbd5e0;
    color: #2d3748;
}

/* Admin Navbar */
.admin-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 25px;
}

.admin-navbar .container-fluid {
    height: 100%;
}

.sidebar-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: all 0.3s ease;
}

.sidebar-toggle span {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover span {
    background: #764ba2;
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
    line-height: 1;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-menu-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 20px 8px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Admin Wrapper */
.admin-wrapper {
    display: flex;
    padding-top: 70px;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    position: fixed;
    left: 0;
    top: 70px;
    bottom: 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.admin-sidebar.collapsed {
    width: 80px;
}

.sidebar-content {
    padding: 20px 0;
}

.sidebar-nav .nav {
    padding: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    gap: 15px;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.sidebar-nav .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

.nav-icon {
    font-size: 20px;
    min-width: 20px;
    text-align: center;
}

.nav-text {
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

.admin-sidebar.collapsed .nav-text {
    display: none;
}

.admin-sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 15px 20px;
}

/* Main Content */
.admin-main {
    flex: 1;
    margin-left: 260px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 70px);
}

body.sidebar-collapsed .admin-main {
    margin-left: 80px;
}

.admin-content {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
}

/* Breadcrumb Custom */
.breadcrumb-custom {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-custom .breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: #764ba2;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #666;
}

/* Admin Footer */
.admin-footer {
    background: white;
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.admin-footer .text-muted {
    color: #999 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    body.sidebar-collapsed .admin-main {
        margin-left: 0;
    }

    .brand-text {
        display: none;
    }

    .user-name {
        display: none;
    }

    .user-menu-btn {
        padding: 8px;
    }
}

/* ========================================
   BLANK LAYOUT STYLES
   ======================================== */

/* Blank Layout Footer */
.blank-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 0;
    font-size: 14px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.blank-footer .container {
    max-width: 1200px;
}

.blank-footer span {
    color: rgba(255, 255, 255, 0.95);
}

.blank-footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 768px) {
    .blank-footer {
        padding: 20px 0;
        font-size: 13px;
    }

    .blank-footer .col-md-6 {
        margin-bottom: 5px;
    }

    .blank-footer .col-md-6:last-child {
        margin-bottom: 0;
    }
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

/* Login Page Styles */
.login-page {
    min-height: calc(100vh - 79px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 40px 15px;
}

.login-container {
    max-width: 450px;
    width: 100%;
    padding: 0 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.login-body {
    padding: 40px 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.login-form .form-check {
    margin: 20px 0;
}

.login-form .form-check-label {
    font-weight: 400;
    font-size: 14px;
    color: #666;
}

.login-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding: 20px 30px 30px;
    background: #f8f9fa;
    font-size: 13px;
    color: #666;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.has-error .form-control {
    border-color: #dc3545;
}

.has-error .help-block {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

@media (max-width: 576px) {
    .login-container {
        padding: 0 15px;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-body {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* Social Media Fields */
.social-field {
    position: relative;
}

.social-icon {
    position: absolute;
    left: 15px;
    top: 38px;
    font-size: 20px;
    z-index: 10;
    pointer-events: none;
}

.social-field .form-control-modern.ps-5 {
    padding-left: 45px !important;
}

.facebook-icon {
    filter: grayscale(0);
}

.instagram-icon {
    filter: grayscale(0);
}

.twitter-icon {
    filter: grayscale(0);
}

.linkedin-icon {
    filter: grayscale(0);
}

.youtube-icon {
    filter: grayscale(0);
}

/* Social Networks Dynamic Fields */
.social-network-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.social-network-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-network-select {
    font-size: 15px;
}

.btn-add-social {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-add-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-remove-social {
    background: #fee;
    color: #dc3545;
    border: 2px solid #fcc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.btn-remove-social:hover {
    background: #dc3545;
    border-color: #dc3545;
    transform: scale(1.1);
}

#socialNetworksContainer:empty::after {
    content: 'No hay redes sociales agregadas. Haz clic en "Agregar Red Social" para añadir una.';
    display: block;
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #e0e0e0;
}

/* Image Upload Styles */
.image-upload-container {
    margin-bottom: 20px;
}

.image-upload-container .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.image-upload-container .form-hint {
    font-size: 12px;
    color: #718096;
    margin-bottom: 10px;
    font-style: italic;
}

.image-upload-wrapper {
    position: relative;
}

.image-preview-box {
    width: 100%;
    min-height: 200px;
    border: 3px dashed #cbd5e0;
    border-radius: 15px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-preview-box:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.01);
}

.image-preview-box.drag-over {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-style: solid;
}

.preview-placeholder {
    text-align: center;
    padding: 30px;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.6;
}

.placeholder-text {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 8px 0;
}

.placeholder-hint {
    font-size: 13px;
    color: #a0aec0;
    margin: 0;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 300px;
}

.btn-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: 2px solid white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.btn-remove-image:hover {
    background: #dc3545;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.image-file-input {
    display: none;
}

/* Special styling for logo preview */
#logoPreview {
    min-height: 250px;
}

#logoPreview .preview-image {
    max-height: 200px;
}

/* Special styling for image previews */
#imageLargePreview,
#imageSmallPreview {
    min-height: 220px;
}

#imageLargePreview .preview-image,
#imageSmallPreview .preview-image {
    max-height: 250px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-preview-box {
        min-height: 180px;
    }

    .placeholder-icon {
        font-size: 36px;
    }

    .placeholder-text {
        font-size: 14px;
    }

    .placeholder-hint {
        font-size: 12px;
    }
}

/* ========================================
   CKEDITOR MODERN STYLES
   ======================================== */

.ckeditor-modern-wrapper {
    margin-top: 10px;
}

/* CKEditor Container */
.ckeditor-modern-wrapper .cke {
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.ckeditor-modern-wrapper .cke:focus-within {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15) !important;
}

/* CKEditor Toolbar */
.ckeditor-modern-wrapper .cke_top {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f0f0 100%) !important;
    border-bottom: 2px solid #e0e0e0 !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
}

.ckeditor-modern-wrapper .cke_toolbar {
    margin: 4px 2px !important;
}

.ckeditor-modern-wrapper .cke_toolgroup {
    background: white !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    margin: 0 4px !important;
    padding: 2px !important;
}

/* CKEditor Buttons */
.ckeditor-modern-wrapper .cke_button {
    background: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    margin: 2px !important;
    padding: 4px 6px !important;
    transition: all 0.2s ease !important;
}

.ckeditor-modern-wrapper .cke_button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.ckeditor-modern-wrapper .cke_button:hover .cke_button_icon {
    filter: brightness(0) invert(1);
}

.ckeditor-modern-wrapper .cke_button_on {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.ckeditor-modern-wrapper .cke_button_on .cke_button_icon {
    filter: brightness(0) invert(1);
}

.ckeditor-modern-wrapper .cke_button_disabled {
    opacity: 0.3 !important;
}

/* CKEditor Content Area */
.ckeditor-modern-wrapper .cke_contents {
    background: white !important;
    border: none !important;
}

.ckeditor-modern-wrapper .cke_wysiwyg_frame {
    background: white !important;
}

/* CKEditor Bottom Bar */
.ckeditor-modern-wrapper .cke_bottom {
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 6px 10px !important;
}

.ckeditor-modern-wrapper .cke_path {
    color: #718096 !important;
    font-size: 12px !important;
}

.ckeditor-modern-wrapper .cke_path_item {
    color: #667eea !important;
}

.ckeditor-modern-wrapper .cke_path_item:hover {
    background: #667eea !important;
    color: white !important;
    border-radius: 3px;
}

/* CKEditor Combo Boxes (Format, Font Size, etc) */
.ckeditor-modern-wrapper .cke_combo_button {
    background: white !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    transition: all 0.2s ease !important;
}

.ckeditor-modern-wrapper .cke_combo_button:hover {
    border-color: #667eea !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1) !important;
}

.ckeditor-modern-wrapper .cke_combo_on .cke_combo_button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
}

.ckeditor-modern-wrapper .cke_combo_on .cke_combo_text {
    color: white !important;
}

.ckeditor-modern-wrapper .cke_combo_arrow {
    border-top-color: #718096 !important;
}

.ckeditor-modern-wrapper .cke_combo_on .cke_combo_arrow {
    border-top-color: white !important;
}

/* CKEditor Separator */
.ckeditor-modern-wrapper .cke_toolbar_separator {
    background: #d0d0d0 !important;
    width: 1px !important;
    height: 20px !important;
    margin: 4px 6px !important;
}

/* CKEditor Maximize Mode */
.cke_maximized .cke {
    border-radius: 0 !important;
}

/* CKEditor Label Field */
.ckeditor-modern-wrapper .field-news-content label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.ckeditor-modern-wrapper .hint-block {
    font-size: 12px;
    color: #718096;
    margin-top: 8px;
    font-style: italic;
}

/* CKEditor Dialog Windows */
.cke_dialog {
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.cke_dialog_title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    border-radius: 10px 10px 0 0 !important;
}

.cke_dialog_body {
    background: white !important;
    padding: 20px !important;
}

.cke_dialog_footer {
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
    border-radius: 0 0 10px 10px !important;
}

.cke_dialog_ui_button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.cke_dialog_ui_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

.cke_dialog_ui_button_cancel {
    background: #e0e0e0 !important;
    color: #718096 !important;
}

.cke_dialog_ui_button_cancel:hover {
    background: #cbd5e0 !important;
}

/* Responsive CKEditor */
@media (max-width: 768px) {
    .ckeditor-modern-wrapper .cke_top {
        padding: 6px 8px !important;
    }

    .ckeditor-modern-wrapper .cke_toolgroup {
        margin: 0 2px !important;
    }

    .ckeditor-modern-wrapper .cke_button {
        padding: 3px 4px !important;
    }
}

/* ========================================
   BLANK LAYOUT STYLES
   ======================================== */
