* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: Arial, sans-serif; 
    background: linear-gradient(135deg, #000000 0%, #007a3d 100%);
    padding: 20px; 
    min-height: 100vh;
    line-height: 1.6;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    background: white;
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 3px solid #000000;
}

header { 
    text-align: center; 
    margin-bottom: 20px; 
    padding: 20px; 
    background: #000000;
    color: white; 
    border-radius: 8px;
    border: 2px solid #ce1126;
}

h1 { 
    margin-bottom: 10px; 
    font-size: 2em;
    color: white;
}

.subtitle {
    font-size: 1.1em;
    color: #ffffff;
}

.menu { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px; 
    margin-bottom: 20px; 
}

.menu button { 
    padding: 12px; 
    border: none; 
    background: #007a3d;
    color: white; 
    border-radius: 6px; 
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    font-weight: bold;
}

.menu button:hover { 
    background: #ce1126;
    transform: translateY(-2px);
}

.form-section { 
    background: #f8f9fa; 
    padding: 20px; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    border: 2px solid #000000;
    display: none;
}

.form-section.active {
    display: block;
}

h3 {
    margin-bottom: 15px;
    color: #000000;
    border-bottom: 3px solid #ce1126;
    padding-bottom: 8px;
    font-size: 1.3em;
}

.form-group { 
    margin-bottom: 15px; 
}

label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: bold; 
    color: #000000;
}

input, select, textarea { 
    width: 100%; 
    padding: 8px; 
    border: 2px solid #000000; 
    border-radius: 4px; 
    font-size: 14px;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ce1126;
    box-shadow: 0 0 5px rgba(206, 17, 38, 0.5);
}

textarea { 
    resize: vertical; 
    min-height: 100px;
}

button[type="submit"] { 
    background: #007a3d; 
    color: white; 
    padding: 10px 15px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

button[type="submit"]:hover { 
    background: #ce1126;
}

.btn-danger { 
    background: #ce1126; 
}

.btn-danger:hover { 
    background: #a50e20;
}

.file-list, .folder-structure { 
    background: white; 
    padding: 15px; 
    border-radius: 6px; 
    border: 2px solid #000000;
    margin-top: 15px;
}

.file-item { 
    padding: 10px; 
    border-bottom: 1px solid #ddd; 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.file-item:hover {
    background: #f0f0f0;
}

.file-item:last-child { 
    border-bottom: none; 
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid;
    border: 2px solid #000000;
}

.alert.success {
    background: #d4edda;
    border-color: #007a3d;
    color: #155724;
}

.alert.error {
    background: #f8d7da;
    border-color: #ce1126;
    color: #721c24;
}

.alert.warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.file-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border: 2px solid #000000;
}

.file-content h4 {
    margin-bottom: 10px;
    color: #000000;
    border-bottom: 2px solid #ce1126;
    padding-bottom: 5px;
}

.file-content pre {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #000000;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
}

.folder-tree {
    list-style: none;
    font-family: 'Courier New', monospace;
    color: #000000;
}

.folder-tree li {
    margin: 5px 0;
    padding: 2px 0;
}

.current-structure {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border: 2px solid #000000;
}

.current-structure h4 {
    margin-bottom: 10px;
    color: #000000;
    border-bottom: 2px solid #ce1126;
    padding-bottom: 5px;
}

small {
    color: #666;
    font-size: 0.9em;
}

p {
    color: #000000;
}

/* Warna Palestine */
/* Hitam: #000000 */
/* Putih: #ffffff */
/* Merah: #ce1126 */
/* Hijau: #007a3d */

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .menu {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .menu button {
        padding: 10px;
        font-size: 13px;
    }
}

/* Footer Style */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #000000;
    color: white;
    border-radius: 5px;
    border: 2px solid #ce1126;
}