* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.main-content {
    margin-left: 250px;
    margin-top: 80px;
    padding: 30px;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - 80px);
}

.main-content.sidebar-closed {
    margin-left: 70px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.content {
    padding: 40px;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.section-title {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.qris-container {
    background: #f8f9ff;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.qris-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.qris-container img {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    border: 3px solid #667eea;
    border-radius: 10px;
    padding: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.qris-container p {
    color: #667eea;
    font-size: 16px;
    margin-bottom: 15px;
}

.warning-text {
    color: #f59e0b;
    font-size: 18px;
    font-weight: 500;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 40px 0;
}

.upload-section {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 30px;
    border: 2px dashed #667eea;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #667eea;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 400px;
    animation: slideDown 0.3s ease;
    z-index: 10001;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.popup-icon.success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.popup-icon.error {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #667eea;
}

.popup-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        margin-top: 70px;
        padding: 15px;
    }

    .main-content.sidebar-closed {
        margin-left: 0;
    }

    .container {
        margin: 0;
    }

    .content {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .popup-container {
        min-width: 90%;
        padding: 30px 20px;
    }
}