/* Main Section */
.tata-cara-section {
    background-color: #fff;
    min-height: 100vh;
}

/* Image Card */
.image-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-header-styled {
    padding: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-online {
    background-color: #eff6ff;
    color: #2563eb;
}

.icon-offline {
    background-color: #f0fdf4;
    color: #16a34a;
}

.header-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.header-text p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-card:hover .image-wrapper img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.btn-view-overlay {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-view-overlay:hover {
    background: #fff;
    color: #111827;
}

.card-footer-styled {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 1rem;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-action-primary {
    background-color: #111827;
    color: #fff;
    border: 1px solid #111827;
}

.btn-action-primary:hover {
    background-color: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

.btn-action-outline {
    background-color: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-action-outline:hover {
    background-color: #f3f4f6;
    color: #111827;
    border-color: #9ca3af;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    background-color: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 1.5rem;
}

.btn-close {
    background-color: #f3f4f6;
    border-radius: 50%;
    padding: 0.75rem;
    opacity: 1;
    transition: all 0.2s;
}

.btn-close:hover {
    background-color: #e5e7eb;
}

/* Timeline / Steps Layout (Restored for Keberatan Page) */
.checklist-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s;
}

.checklist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.steps-container {
    padding-left: 0.5rem;
    position: relative;
    border-left: 2px solid #e5e7eb;
    margin-left: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-marker {
    position: absolute;
    left: -0.6rem;
    top: 0;
    width: 1.2rem;
    height: 1.2rem;
    background-color: #fff;
    border: 3px solid;
    border-radius: 50%;
    z-index: 10;
}

.marker-online {
    border-color: #2563eb;
}

.marker-offline {
    border-color: #16a34a;
}

.step-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.step-desc a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.step-desc a:hover {
    text-decoration: underline;
}

.step-desc ul,
.step-desc ol {
    margin-top: 0.5rem;
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.step-desc li {
    margin-bottom: 0.25rem;
}

.card-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 0;
    font-size: 1.35rem;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}