/* File: assets/style.css */
:root {
    --autocad-bg: #212830;
    --grid-line-color: #38414a;
    --palette-bg: #3c4652;
    --palette-header-bg: #4a5460;
    --text-color: #d1d1d1;
    --highlight-blue: #3e83c7;
    --input-bg: #212830;
    --border-color: #2c353e;
    --error-color: #ff5555;
    --success-color: #55ff55;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
}

.autocad-workspace {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--autocad-bg);
    background-size: 40px 40px;
    background-image: linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
}

.login-palette {
    width: 450px;
    background-color: var(--palette-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.palette-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--palette-header-bg);
    color: var(--text-color);
    padding: 4px 10px;
    font-size: 14px;
    cursor: move;
}

.palette-controls .control-btn {
    margin-left: 5px;
    padding: 0 5px;
    cursor: pointer;
}

.palette-content {
    padding: 20px;
}

.error-message, .success-message {
    border: 1px solid;
    text-align: center;
    padding: 8px;
    margin-bottom: 15px;
    font-size: 12px;
}

.error-message {
    background-color: rgba(255, 85, 85, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
}

.success-message {
    background-color: rgba(85, 255, 85, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.input-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    padding: 8px;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}

.label-cell {
    background-color: rgba(0,0,0,0.1);
    color: var(--text-color);
    font-size: 12px;
    width: 120px;
}

.input-cell {
    background-color: var(--input-bg);
}

.autocad-input {
    width: 100%;
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    padding: 5px;
}

.autocad-input:focus {
    outline: 1px solid var(--highlight-blue);
}

.recaptcha-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.autocad-button {
    background-color: var(--palette-header-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    font-family: 'Roboto Mono', monospace;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    text-decoration: none;
    flex-grow: 1;
    text-align: center;
    margin: 5px;
}

.autocad-button:hover {
    background-color: var(--highlight-blue);
    border-color: #5aa1e3;
}

.links-row {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.links-row a {
    color: var(--text-color);
    text-decoration: none;
}

.links-row a:hover {
    color: var(--highlight-blue);
}

.command-line {
    background-color: var(--input-bg);
    padding: 5px 10px;
    color: var(--text-color);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.blinking-cursor {
    animation: blink 1s step-start 0s infinite;
    font-weight: bold;
}

@keyframes blink {
    50% { opacity: 0; }
}
.google-button {
    display: flex; /* Enables flexbox for alignment */
    align-items: center; /* Vertically centers the icon and text */
    justify-content: center; /* Horizontally centers the content */
        margin-left: 5px;
}

/* Style for the Google icon SVG */
.google-button .google-icon {
    width: 18px; /* Set a fixed width for the icon */
    height: 18px; /* Set a fixed height for the icon */
    margin-right: 10px; /* Add some space between the icon and the text */
}

/* --- New Styles for Login Page Language Switcher --- */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher-login {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 2px;
}

.lang-switcher-login .lang-option {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    padding: 3px 8px;
    opacity: 0.6;
}

.lang-switcher-login .lang-option.active {
    background-color: var(--highlight-blue);
    opacity: 1;
}
.is-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #1a1a1a; 
}

.main-content-area {
    padding-bottom: 60px;
}