/* Container chính */
.pga-fullscreen-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fdfdfd;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    max-width: 1000px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    height: 700px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Header */
.pga-header {
    background: #4CAF50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}
.pga-logo { font-size: 1.5em; font-weight: bold; }
.pga-btn {
    background: white; color: #4CAF50; border: none;
    padding: 5px 15px; border-radius: 20px; cursor: pointer;
    font-weight: bold; margin-left: 10px;
}
.pga-btn:hover { background: #e8f5e9; }

/* User Panel */
.pga-user-panel {
    background: #e8f5e9;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
.pga-user-panel input {
    padding: 5px; border-radius: 5px; border: 1px solid #ccc; width: 200px;
}

/* Body Layout */
.pga-body { display: flex; flex: 1; overflow: hidden; }

/* Sidebar Menu */
.pga-sidebar {
    width: 250px;
    background: #fafafa;
    border-right: 1px solid #eee;
    overflow-y: auto;
    padding: 10px;
}
.pga-menu-group h3 {
    color: #2E7D32;
    margin-bottom: 5px;
    font-size: 1.1em;
    border-bottom: 2px solid #a5d6a7;
}
.pga-sidebar ul { list-style: none; padding: 0; margin: 0 0 15px 0; }
.pga-sidebar li {
    padding: 8px; cursor: pointer; border-radius: 5px;
    margin-bottom: 2px; transition: background 0.2s;
}
.pga-sidebar li:hover { background: #dcedc8; }
.pga-sidebar li.completed { color: #555; font-style: italic; }

/* Content Area */
.pga-content { flex: 1; padding: 20px; display: flex; flex-direction: column; overflow-y: auto; }

/* Tabs */
.pga-tabs { margin-bottom: 20px; border-bottom: 2px solid #eee; }
.pga-tab {
    background: none; border: none; padding: 10px 20px;
    font-size: 1.1em; cursor: pointer; color: #666;
    border-bottom: 3px solid transparent;
}
.pga-tab.active { color: #2196F3; border-bottom-color: #2196F3; font-weight: bold; }

/* Views */
.pga-view { display: none; animation: fadeIn 0.3s; }
.pga-view.active { display: block; }

/* Theory */
#theory-canvas { border: 1px dashed #ccc; margin: 15px 0; background: #fff; }
.pga-formulas-box {
    background: #fff3e0; padding: 15px; border-radius: 8px; border-left: 5px solid #ff9800;
}

/* Quiz */
.pga-grid-options {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px;
}
.quiz-option {
    padding: 20px; background: #e3f2fd; border: none; border-radius: 8px;
    font-size: 1.1em; cursor: pointer; transition: transform 0.1s;
}
.quiz-option:hover { background: #bbdefb; transform: scale(1.02); }
#quiz-question-box { font-size: 1.3em; font-weight: bold; margin-bottom: 10px; }

/* Creative */
#creative-canvas { border: 2px solid #333; background: #fff; }
.toolbar button {
    margin-right: 5px; padding: 5px 10px; cursor: pointer;
    background: #607d8b; color: white; border: none; border-radius: 3px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }