.error-validation {
    font-size: 0.875em;
    margin-top: 0.25rem;
}

textarea {
    resize: none;
}

/* .swiper {
    width: 600px;
    height: 300px;
  } */

.ribbon-box.profile-project-card {
    min-height: 240px;
    display: flex;
}

.ribbon-box.profile-project-card .card-body {
    display: flex;
    flex-direction: column;
}

.bg-landing-sso {
    background-image: url("../assets/images/batik-pattern.svg"),
        linear-gradient(
            44deg,
            rgba(26, 113, 97, 1) 20%,
            rgba(55, 129, 115, 0.9) 100%,
            rgba(95, 201, 181, 0.9) 30%
        ) !important;
    background-size: cover;
    background-position: bottom;
    background-size: 200px;
    background-repeat: repeat;
    padding: 250px 0 150px;
}

.bg-overlay-2 {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    opacity: 0.7;
    background-color: #2a58cf;
}

.bg-white {
    background-color: white !important;
}

.pointer-cursor {
    cursor: pointer;
}

.subtitle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff; /* abu-abu terang */
    opacity: 1;
    text-align: left;
    /* border-bottom-left-radius: .25rem; */
    /* border-bottom-right-radius: .25rem; */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    color: #000;
    z-index: 1;
}

@media (max-width: 576px) {
    .subtitle-overlay small {
        font-size: 0.75rem;
    }
}


.gradient-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5),
        /* paling gelap di bawah */ rgba(0, 0, 0, 0.3),
        /* agak transparan */ rgba(0, 0, 0, 0) /* transparan penuh di atas */
    );
}

.fixed-card {
    height: 150px; /* default desktop */
}

.fixed-card .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Tablet */
@media (max-width: 992px) {
    .fixed-card {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .fixed-card {
        height: 200px;
    }
}

.modern-service-card {
    border: 1px solid var(--vz-border-color);
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(30, 32, 37, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modern-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 32, 37, 0.10);
    border-color: var(--vz-primary);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.service-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge-status {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #fff;
}

.modern-category-card {
    border: 1px solid var(--vz-border-color);
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(30, 32, 37, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modern-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 32, 37, 0.10);
    border-color: var(--vz-primary);
}

.category-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: background-color 0.2s ease;
}

.modern-category-card:hover .category-icon-wrap {
    background-color: var(--vz-primary-bg-subtle) !important;
}

.category-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
}

.section-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon-badge i {
    font-size: 24px;
    color: #fff;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1b4b;
}

.section-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 780px;
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #e0e0f5;
    border-radius: 50px;
    transition: background-color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
    white-space: nowrap;
}

.section-more-link:hover {
    background-color: #f5f4ff;
    border-color: #4f46e5;
    color: #4f46e5;
    gap: 10px;
}

.section-divider-line {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.25rem;
    }
    .section-icon-badge {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .section-icon-badge i {
        font-size: 20px;
    }
    .section-subtitle {
        display: none;
    }
    .section-more-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
.cctv-card {
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(20, 20, 30, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.cctv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(20, 20, 30, 0.14);
}

.cctv-thumb-wrap {
    border-radius: 12px;
    overflow: hidden;
}

.cctv-thumb {
    transition: transform 0.4s ease;
}

.cctv-card:hover .cctv-thumb {
    transform: scale(1.06);
}

.cctv-content-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cctv-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.cctv-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1e1b4b;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cctv-card:hover .cctv-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cctv-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: fit-content;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.4;
    white-space: nowrap;
}

.cctv-badge-live {
    background: #10b981;
    color: #fff;
}

.cctv-badge-off {
    background: #ef4444;
    color: #fff;
}

.cctv-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: cctv-pulse 1.5s infinite;
}

@keyframes cctv-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.cctv-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.cctv-label i {
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.85;
}


.modern-event-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 20, 30, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 4 / 5;
}

.modern-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(20, 20, 30, 0.16);
}

.event-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.event-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-event-card:hover .event-img {
    transform: scale(1.08);
}

.event-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.event-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
}

.event-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 16px 18px;
    box-sizing: border-box;
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #fde68a;
    margin: 0 0 6px;
}

.event-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.action-slot {
    min-height: 26px;
}

.siklus-hidup-wrapper {
    overflow-x: auto;
    padding: 8px 8px 16px;
}

.siklus-hidup-wrapper::-webkit-scrollbar {
    height: 6px;
}

.siklus-hidup-wrapper::-webkit-scrollbar-thumb {
    background: var(--vz-border-color);
    border-radius: 10px;
}

.siklus-hidup-track {
    display: flex;
    align-items: stretch;
    min-width: max-content;
}

.siklus-hidup-stage {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    padding-right: 32px;
}

.siklus-hidup-stage:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 45%;
    right: 0;
    width: 32px;
    height: 0;
    border-top: 2px dashed #9599a6;
    z-index: 0;
}

.siklus-hidup-stage .card {
    position: relative;
    z-index: 1;
}

.siklus-hidup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.siklus-hidup-grid .ribbon-box.profile-project-card {
    min-height: 320px;
    height: 100%;
}

