/* Принудительный сброс отступов для body и html */
html, body.tca-login-page {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    background-color: #ffffff;
}

/* Главный контейнер - на весь экран, Flexbox */
.tca-login-container {
    display: flex !important;
    flex-direction: row !important; /* Строго горизонтально */
    min-height: 100vh;
    width: 100%;
}

/* ЛЕВАЯ ЧАСТЬ (Лого + Текст) */
.tca-login-left {
    width: 50%;
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-right: 1px solid #f0f0f0;
}

.tca-logo-wrapper {
    margin-bottom: 40px;
}

.tca-logo {
    max-width: 250px; /* Ограничим ширину лого */
    height: auto;
    display: block;
}

.tca-logo-placeholder {
    font-size: 24px;
    font-weight: bold;
    color: #21612a;
    border: 2px dashed #21612a;
    padding: 20px;
    display: inline-block;
}

.tca-platform-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
    color: #333 !important;
    font-weight: 700 !important;
    max-width: 600px;
}

/* ПРАВАЯ ЧАСТЬ (Форма) */
.tca-login-right {
    width: 50%;
    flex: 1;
    background: #f8fcf9; /* Очень легкий оттенок зеленого */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.tca-login-box {
    background: #ffffff;
    padding: 50px 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(33, 97, 42, 0.08); /* Тень с оттенком */
    border-top: 4px solid #21612a; /* Акцентная полоска сверху */
}

.tca-login-heading {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    color: #21612a; /* Ваш акцентный цвет */
    text-align: center;
    font-weight: 600;
}

/* Поля ввода */
.tca-form-group {
    margin-bottom: 20px;
}

.tca-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.tca-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box; /* Важно, чтобы padding не ломал ширину */
    transition: border-color 0.2s;
}

.tca-form-group input:focus {
    border-color: #21612a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 97, 42, 0.1);
}

/* Кнопка */
.tca-btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #21612a; /* Ваш акцентный цвет */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.tca-btn-submit:hover {
    background-color: #1a4d22;
}

/* Сообщения */
.tca-form-message {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}
.tca-form-message.error { color: #d32f2f; }
.tca-form-message.success { color: #21612a; }

/* Мобильная адаптация */
@media (max-width: 900px) {
    .tca-login-container {
        flex-direction: column !important;
    }
    .tca-login-left, .tca-login-right {
        width: 100%;
        padding: 40px 20px;
    }
    .tca-login-left {
        padding-bottom: 20px;
        align-items: center;
        text-align: center;
    }
}
