body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    padding-bottom: 80px;
    /* Space untuk footer */
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3498db;
}

textarea {
    height: 100px;
    resize: vertical;
}

.row {
    display: flex;
    gap: 15px;
}

.col {
    flex: 1;
}

button {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.photo-preview {
    margin-top: 10px;
    text-align: center;
}

.photo-preview img {
    max-width: 200px;
    max-height: 200px;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
}

.loading {
    text-align: center;
    margin-top: 10px;
    color: #7f8c8d;
    font-weight: bold;
}

.success {
    text-align: center;
    margin-top: 10px;
    color: #27ae60;
    font-weight: bold;
}

.file-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.error {
    text-align: center;
    margin-top: 10px;
    color: #e74c3c;
    font-weight: bold;
    padding: 10px;
    background-color: #ffeaea;
    border-radius: 5px;
    border: 1px solid #e74c3c;
}


/* Styles untuk multiple laporan */

.laporan-section {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    background-color: #f8f9fa;
    position: relative;
}

.laporan-section:first-child {
    border-color: #3498db;
    background-color: #f0f8ff;
}

.laporan-title {
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-size: 18px;
    font-weight: bold;
}

.laporan-section:nth-child(even) .laporan-title {
    color: #27ae60;
    border-bottom-color: #27ae60;
}

.laporan-section:nth-child(odd):not(:first-child) .laporan-title {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}


/* Progress Bar Styles */

.progress-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #28a745, #20c997);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient( -45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: progress-animation 1s linear infinite;
}

@keyframes progress-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

.progress-text {
    text-align: center;
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.progress-percentage {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}


/* WhatsApp Floating Button Styles */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    top: 90%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Animation for smooth transitions */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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


/* Responsive untuk layar kecil */

@media (max-width: 768px) {
    .laporan-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    .laporan-title {
        font-size: 16px;
    }
    .whatsapp-float {
        right: 15px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon svg {
        width: 22px;
        height: 22px;
    }
    .whatsapp-tooltip {
        right: 60px;
        font-size: 11px;
        padding: 6px 10px;
    }
}