/* लेखन-अभ्यास-उपकरणस्य कृते CSS (CSS for Writing Practice Tool) */
/* --- Global Theme & Base Styling --- */
:root {
    --bg-dark: #060b1a;
    --accent-blue: #00d4ff;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
}

body.शरीरम् {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

/* --- Navigation Header --- */
#शीर्षपट्टिका {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    background: rgba(6, 11, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    box-sizing: border-box;
}

#चिह्नपात्रम् a {
    display: flex;
    align-items: center;
}

#चिह्नम् {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    transition: all 0.3s ease;
}

#चिह्नम्:hover {
    transform: scale(3);
    transform-origin: top left;
}

#मार्गसञ्चारकडी {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

#मार्गसञ्चारकडी a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

#मार्गसञ्चारकडी a:hover {
    color: yellow;
    transform: translateY(-2px) scale(1.05);
    display: inline-block;
}

/* --- Base Layout & Components --- */
.मुख्यपात्रम् {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 50px);
    margin-top: 50px;
    width: 100%;
}

.उपकरणकीलः {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.उपकरणकीलः:hover {
    background: var(--accent-blue);
    color: #060b1a;
    border-color: var(--accent-blue);
}


.सारणी-पात्रम् {
    margin-top: 5px;
    padding: 0 20px 20px 20px;
    height: calc(100vh - 165px);
    overflow-y: auto;
}

#अभ्याससारणी {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-glass);
}

#अभ्याससारणी td {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0;
}

#अभ्याससारणी th {
    background-color: #1e1e1e;
    color: var(--text-primary);
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: bold;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

#अभ्याससारणी td:first-child,
#अभ्याससारणी th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background-color: #1e1e1e;
}

#अभ्याससारणी th:first-child {
    z-index: 15;
}

.अभ्यासनिवेशनम् {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 10px;
    font-size: 1rem;
    outline: none;
}

.अभ्यासनिवेशनम्:focus {
    background-color: rgba(0, 212, 255, 0.1);
}

.उपकरणपट्टिका {
    padding: 0 20px 10px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
}

.त्रुटि-निवेशनम् {
    background-color: rgba(255, 77, 77, 0.3) !important;
}