/* Header Tetap */

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #a6275d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.second-logo {
    height: 35px !important;
    /* Sesuaikan ukuran logo kedua jika perlu */
}

.language-selector {
    display: flex;
    gap: 15px;
}

.language-item {
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.3s ease;
}

.language-item:hover,
.language-item.active {
    color: #007bff;
    text-decoration: none;
}

/* Layout Utama */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
}

.footer-wrapper {
    margin-top: auto;
}

/* Form Container */

.form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.form-container:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

/* Header */

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.header h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 10px;
}

.header p {
    color: #6c757d;
}

/* Form Elements */

.form-group label {
    font-weight: 500;
    color: #495057;
}

.form-control {
    border-radius: 5px;
    padding: 10px 15px;
    height: auto;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-submit {
    background-color: #a6275d;
    border-color: #a6275d;
    width: 100%;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #a6275d;
    border-color: #a6275d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.3);
}

.iti {
    width: 100%;
}

/* Alerts */

.alert {
    border-radius: 5px;
    padding: 15px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Banner */

.banner-container {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
}

.banner-container:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.banner-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    margin: 0 auto;
}

.banner-image:hover {
    transform: scale(1.03);
}

.banner-bottom {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Pemohon Slider */

.pemohon-slider {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 25px;
    overflow: hidden;
    position: relative;
}

.pemohon-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    color: #007bff;
    font-size: 18px;
}

.pemohon-list {
    position: relative;
    min-height: 300px;
    transition: opacity 0.5s ease-in-out;
}

.pemohon-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.pemohon-page.active {
    opacity: 1;
    display: block;
}

.pemohon-slide {
    opacity: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: relative;
    margin-bottom: 10px;
}

.pemohon-slide:hover {
    transform: translateX(5px);
}

.pemohon-container {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    transition: all 0.3s ease;
}

.pemohon-container:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pemohon-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #007bff;
    margin-right: 15px;
}

.pemohon-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pemohon-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.pemohon-status-container {
    display: flex;
    align-items: center;
}

.pemohon-status {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    color: #28a745;
}

.badge-success {
    display: inline-block;
    background-color: #28a745;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.no-pemohon {
    text-align: center;
    font-style: italic;
    color: #6c757d;
}

/* Footer */

.footer {
    text-align: center;
    color: #6c757d;
    padding: 15px 0;
}

.footer-image-container {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.footer-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Media Queries untuk Responsif */

@media (max-width: 768px) {
    .footer-image {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .footer-image {
        max-width: 80%;
    }
    .logo-container {
        gap: 10px;
    }
    .logo-container img {
        height: 30px;
    }
    .second-logo {
        height: 25px !important;
    }
}

/* Tambahkan padding-bottom pada body untuk memberikan ruang bagi footer tetap */

body {
    background-color: #f8f9fa;
    padding-top: 80px;
    /* Padding untuk header tetap */
    padding-bottom: 60px;
    /* Padding untuk footer tetap */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Slider Styles */

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
}

.slider-container:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    display: none;
    animation-duration: 1s;
}

.slide.active {
    display: block;
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0.4
    }
    to {
        opacity: 1
    }
}

.slider-nav {
    text-align: center;
    margin-top: 10px;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #a6275d;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}