/* ====== CSS dari resources/views/layout/head.blade.php ====== */
.ck-editor__editable {
    min-height: 200px;
}
.ck-editor__editable_inline {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}
.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
    border-color: #ced4da;
}
.ck.ck-editor__main > .ck-editor__editable.ck-focused {
    border-color: #1dd1a1;
    box-shadow: 0 0 0 0.2rem rgba(29, 209, 161, 0.25);
}

/* ====== CSS dari resources/views/layout/header.blade.php ====== */
.header-profile .head-icon {
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 8px;
}
.header-profile .head-icon:hover {
    background-color: rgba(29, 209, 161, 0.1);
    transform: translateY(-1px);
}
.header-profile-canvas {
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    border: none;
}
#profilecanvasRight.offcanvas-end {
    width: 320px;
    height: auto !important;
    max-height: 90vh;
    top: 70px;
    bottom: auto;
    border-radius: 12px 0 0 12px;
}
.profile-avatar {
    transition: all 0.3s ease;
}
.profile-avatar:hover {
    transform: scale(1.02);
}
.profile-action-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.profile-action-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.signout-btn {
    transition: all 0.3s ease;
}
.signout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}
@media (max-width: 768px) {
    .header-profile .head-icon {
        padding: 4px 8px;
    }
    .header-profile-canvas {
        border-radius: 12px 0 0 12px;
    }
}
.form-check-input:checked {
    background-color: #1dd1a1 !important;
    border-color: #1dd1a1 !important;
}
.form-check-input:focus {
    border-color: #1dd1a1 !important;
    box-shadow: 0 0 0 0.2rem rgba(29, 209, 161, 0.25) !important;
}
.odigi-logo-bg-header {
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.02); }
}
.offcanvas-body {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}
.offcanvas-body::-webkit-scrollbar {
    width: 4px;
}
.offcanvas-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}
.offcanvas-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}
.offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ====== CSS dari resources/views/layout/master.blade.php ====== */
.input-group .form-control.is-invalid { border-right: 0; }
.input-group .input-group-text { border-left: 0; background: #fff; }
.input-group .input-group-text .bi { font-size: 1.2em; vertical-align: middle; }
.odigi-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.odigi-logo {
    width: 350px;
    height: auto;
    animation: logoStack 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(29, 209, 161, 0.3));
}
.odigi-logo::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background: url('../image/Logo/logo_odigi.png') no-repeat center;
    background-size: contain;
    opacity: 0.3;
    z-index: -1;
    animation: logoStackShadow 3s ease-in-out infinite;
}
.odigi-logo::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background: url('../image/Logo/logo_odigi.png') no-repeat center;
    background-size: contain;
    opacity: 0.1;
    z-index: -2;
    animation: logoStackShadow2 3s ease-in-out infinite;
}
@keyframes logoStack {
    0% { opacity: 0.8; transform: scale(0.9) translateY(0px); filter: drop-shadow(0 0 20px rgba(29, 209, 161, 0.3)); }
    50% { opacity: 1; transform: scale(1.05) translateY(-5px); filter: drop-shadow(0 0 30px rgba(29, 209, 161, 0.5)); }
    100% { opacity: 0.8; transform: scale(0.9) translateY(0px); filter: drop-shadow(0 0 20px rgba(29, 209, 161, 0.3)); }
}
@keyframes logoStackShadow {
    0% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.5; transform: translateY(-3px); }
    100% { opacity: 0.3; transform: translateY(0px); }
}
@keyframes logoStackShadow2 {
    0% { opacity: 0.1; transform: translateY(0px); }
    50% { opacity: 0.2; transform: translateY(-6px); }
    100% { opacity: 0.1; transform: translateY(0px); }
}

/* ====== CSS dari resources/views/layout/sidebar.blade.php ====== */
.logo-slide-animation {
    animation: logoSlideInOut 4s ease-in-out infinite;
    position: relative;
}
.app-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
@keyframes logoSlideInOut {
    0% { opacity: 0; transform: translateX(-180px); }
    25% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0; transform: translateX(0); }
    75% { opacity: 0; transform: translateX(-180px); }
    100% { opacity: 1; transform: translateX(0); }
}
.main-nav li a.active {
    background: linear-gradient(135deg, #1dd1a1 0%, #49bbca 100%) !important;
    color: #fff !important;
    border-radius: 8px;
    margin: 2px 8px;
    box-shadow: 0 2px 8px rgba(29, 209, 161, 0.3);
    transform: translateX(4px);
    transition: all 0.3s ease;
}
.main-nav li a.active i {
    color: #fff !important;
}
.main-nav li a.active span {
    color: #fff !important;
    font-weight: 600;
}
.main-nav li a:not(.active):hover {
    background: rgba(29, 209, 161, 0.1) !important;
    color: #1dd1a1 !important;
    border-radius: 8px;
    margin: 2px 8px;
    transform: translateX(2px);
    transition: all 0.3s ease;
}
.main-nav li a:not(.active):hover i {
    color: #1dd1a1 !important;
}
.main-nav li a:not(.active):hover span {
    color: #1dd1a1 !important;
}
.main-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}
.main-nav li a i {
    margin-right: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.main-nav li a span {
    font-weight: 500;
    transition: all 0.3s ease;
}
