/* View: learning-quadrilaterals — Page-specific styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #272822;
    color: #f8f8f2;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}

.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #3e3d32;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #66d9ef;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 2em;
    color: #a6e22e;
    font-weight: bold;
    margin-bottom: 10px;
}

.shape-name {
    font-size: 1.8em;
    color: #f92672;
    font-weight: bold;
    margin-bottom: 20px;
}

.shape-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #49483e;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #75715e;
}

.shape-canvas {
    width: 300px;
    height: 250px;
    background: #2d2d2d;
    border-radius: 8px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-button {
    background: #66d9ef;
    color: #272822;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.nav-button:hover {
    background: #a6e22e;
    transform: translateY(-2px);
}

.nav-button:disabled {
    background: #75715e;
    color: #49483e;
    cursor: not-allowed;
    transform: none;
}

.counter {
    color: #e6db74;
    font-size: 1.2em;
    font-weight: bold;
}

.right-panel {
    flex: 1;
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    background: #3e3d32;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #75715e;
}

.column-title {
    font-size: 1.5em;
    color: #fd971f;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #75715e;
    padding-bottom: 10px;
}

.rule-item, .shape-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    background: #49483e;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.rule-item.true, .shape-item.true {
    color: #a6e22e;
    border-left-color: #a6e22e;
    background: #2d3d2d;
}

.rule-item.false, .shape-item.false {
    color: #f92672;
    text-decoration: line-through;
    border-left-color: #f92672;
    background: #3d2d2d;
    opacity: 0.7;
}

.description {
    font-size: 0.9em;
    color: #75715e;
    margin-top: 5px;
    font-style: italic;
}
