/* emuSyari Light by BRAZZIL NETWORK - CSS Styles */
/* Emulator Android Halal & Ringan - MIT License */

:root {
    --islamic-green: #2E8B57;
    --islamic-gold: #FFD700;  
    --pure-white: #FFFFFF;
    --clean-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --shadow-soft: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--islamic-green) 0%, #1e6b47 100%);
    min-height: 100vh;
    color: var(--text-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles - Islamic Clean Design */
.header {
    background: var(--pure-white);
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px var(--shadow-soft);
    text-align: center;
    border: 2px solid var(--islamic-gold);
}

.header-content .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px var(--shadow-soft));
}

.header h1 {
    color: var(--islamic-green);
    margin-bottom: 5px;
    font-size: 2.8em;
    font-weight: 700;
    text-shadow: 0 2px 4px var(--shadow-soft);
}

.company {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 10px;
    font-style: italic;
}

.tagline {
    color: var(--text-dark);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--islamic-green);
    font-size: 1em;
    font-weight: 500;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 20px;
    margin-bottom: 20px;
}

/* Control Panel */
.control-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.control-panel h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #7f8c8d;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Emulator Container */
.emulator-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.device-frame {
    background: #2c3e50;
    border-radius: 25px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.device-screen {
    background: #fff;
    border-radius: 15px;
    height: 600px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Welcome Screen */
.welcome-screen {
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.welcome-screen h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.welcome-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 1.1em;
}

.feature-icon {
    font-size: 1.5em;
}

.btn-start {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-start:hover {
    background: white;
    color: #0984e3;
}

/* App Launcher */
.app-launcher {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.launcher-header {
    text-align: center;
    margin-bottom: 20px;
}

.launcher-header h4 {
    color: #2c3e50;
    font-size: 1.4em;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.app-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.app-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    border-color: #3498db;
}

.app-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
}

.app-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #2c3e50;
}

/* App Windows */
.app-window {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    font-weight: 600;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Browser App */
.browser-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.address-bar {
    padding: 10px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

.address-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.address-bar button {
    padding: 8px 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#browserFrame {
    flex: 1;
    border: none;
    width: 100%;
}

/* Chat App */
.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-input {
    padding: 10px;
    background: white;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.chat-input button {
    padding: 8px 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* Device Controls */
.device-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.control-btn {
    background: #34495e;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

/* Info Panel */
.info-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-panel h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.system-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.info-label {
    color: #7f8c8d;
    font-weight: 600;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
}

.quick-links h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.quick-links a {
    display: block;
    color: #3498db;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer p {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .control-panel,
    .info-panel {
        order: 2;
    }
    
    .emulator-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .device-frame {
        padding: 15px;
    }
    
    .device-screen {
        height: 500px;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
