﻿body {
    font-family: Verdana;
    font-size: 12px;
    margin: 0;
    background: #f5f7fa;
}

a {
    color: #2563eb;
}

    a:hover {
        color: #1d4ed8;
    }


.LoginControl
{
    background-color:#F7F7DE; 
    border-color:#CCCC99;
    border-style:solid;
    border-width:2px;
    font-family:Verdana; 
    font-size:10px;     
}

.tblHeader { background-color: #BDCFE2; font-variant: small-caps; }
.tblResult0 { background-color: #FFFFFF;vertical-align:top; }
.tblResult1 { background-color: #ECF1F5;vertical-align:top; }
.itemStyle60 { width: 60px; }
.itemStyle150 { width: 150px; }
.itemStyle300 { width: 300px; }
.itemStyle350 { width: 350px; }

.Nodata
{
    font-family: Verdana;
    font-size: 20px;
    color: #FF0000;
}

.warning { background-color: #FF0000; font-weight: bold; color:#FFFFFF; }

.right {
  text-align: right;
  margin-right: 1em;
}

.left {
  text-align: left;
  margin-left: 1em;
}





.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.login-card {
    width: 340px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #e2e2e2;
}

.login-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 24px;
}

.login-body {
    padding: 24px;
}

.login-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin: 14px 0 6px;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

    .login-input:focus {
        outline: none;
        border-color: #2c3e50;
        box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.15);
    }

.login-error {
    display: block;
    color: #d9534f;
    font-size: 12px;
    margin-top: 4px;
}

.login-button {
    width: 100%;
    margin-top: 20px;
    padding: 11px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .login-button:hover {
        background: #1a252f;
    }



.translation-page {
    padding: 25px 30px 40px 30px;
    background: #f5f7fa;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #263238;
    box-sizing: border-box;
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.filter-card {
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .filter-table td {
        border: none !important;
        padding: 5px 10px;
        vertical-align: middle;
    }

.filter-label {
    font-weight: 700;
    color: #4b5563;
    white-space: nowrap;
}

.modern-select,
.modern-input {
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    background: #ffffff;
    padding: 6px 10px;
    font-size: 14px;
    color: #263238;
    outline: none;
    transition: all 0.2s ease;
}

.modern-select {
    width: 165px;
}

.modern-input {
    width: 200px;
}

    .modern-select:hover,
    .modern-input:hover {
        border-color: #9ca3af;
    }

    .modern-select:focus,
    .modern-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
    }

.modern-checkbox {
    transform: scale(1.15);
    cursor: pointer;
    margin-left: 5px;
}

.button-area {
    text-align: right;
    padding-top: 10px !important;
}

.btn-primary,
.btn-secondary {
    height: 38px;
    padding: 0 17px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 6px;
}

.btn-primary {
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #ffffff;
}

    .btn-primary:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
    }

.btn-secondary {
    background: #ffffff;
    border: 1px solid #cfd6df;
    color: #374151;
}

    .btn-secondary:hover {
        background: #f3f4f6;
        border-color: #9ca3af;
    }

.grid-card {
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.translation-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .translation-grid th {
        background: #eaf0f6 !important;
        color: #374151 !important;
        font-weight: 600;
        padding: 12px 10px !important;
        border: 1px solid #d7dee7 !important;
        text-align: left;
        white-space: nowrap;
    }

        .translation-grid th a {
            color: #1f4e79 !important;
            text-decoration: none;
        }

            .translation-grid th a:hover {
                text-decoration: underline;
            }

    .translation-grid td {
        padding: 10px !important;
        border: 1px solid #e1e5ea !important;
        vertical-align: top;
        line-height: 1.4;
    }

    .translation-grid tr {
        transition: background-color 0.15s ease;
    }

        .translation-grid tr:hover {
            background: #f3f7fb !important;
        }

    .translation-grid .tblResult0 {
        background: #ffffff;
    }

    .translation-grid .tblResult1 {
        background: #f8fafc;
    }

    .translation-grid a {
        color: #2563eb;
        text-decoration: none;
    }

        .translation-grid a:hover {
            text-decoration: underline;
        }

    .translation-grid textarea {
        border: 1px solid #cfd6df;
        border-radius: 5px;
        padding: 8px;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 14px;
        resize: vertical;
        box-sizing: border-box;
    }

        .translation-grid textarea:focus {
            border-color: #2563eb;
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
        }

.Nodata {
    display: block;
    padding: 35px;
    text-align: center;
    color: #6b7280;
    font-size: 15px;
}

.validation-error {
    color: #dc2626;
    font-size: 13px;
    margin-left: 5px;
}

@media (max-width: 1100px) {

    .translation-page {
        padding: 15px;
    }

    .filter-card {
        padding: 15px;
    }

    .filter-table {
        display: block;
    }

        .filter-table tr {
            display: block;
            margin-bottom: 5px;
        }

        .filter-table td {
            display: inline-block;
        }

    .grid-card {
        overflow-x: auto;
    }
}


.showall-container {
    width: 50%;
    margin: 8px auto;
    border: 1px solid #d5dde5;
    background: #ffffff;
    border-collapse: collapse;
}

.showall-toolbar {
    background: #f5f7f9;
    border-bottom: 1px solid #d5dde5;
}

    .showall-toolbar td {
        padding: 6px 10px;
        font-size: 11px;
    }

.showall-item {
    color: #333;
}

.showall-item-code {
    font-weight: bold;
    color: #333;
    margin-left: 3px;
}

.showall-navigation {
    text-align: right;
    white-space: nowrap;
}

    .showall-navigation a {
        color: #337ab7;
        font-size: 11px;
        text-decoration: none;
        margin-left: 12px;
    }

        .showall-navigation a:hover {
            text-decoration: underline;
        }

.showall-grid-cell {
    padding: 0 !important;
}

.showall-grid {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

    .showall-grid th {
        background: #dbe5ef;
        color: #26384a;
        font-weight: bold;
        text-align: left;
        padding: 4px 6px;
        height: 20px;
        border-right: 1px solid #c5d0db;
        border-bottom: 1px solid #b8c5d1;
    }

    .showall-grid td {
        padding: 3px 6px;
        height: 18px;
        color: #333;
        vertical-align: middle;
        border-right: 1px solid #d3dbe3;
        border-bottom: 1px solid #d3dbe3;
    }

    .showall-grid tr.tblResult0 td {
        background: #f3f6f9;
    }

    .showall-grid tr.tblResult1 td {
        background: #ffffff;
    }

    .showall-grid tr:hover td {
        background: #eef4f9;
    }

.itemStyleCenter150 {
    width: 160px;
    white-space: nowrap;
    text-align:center;
}
.showall-grid th:first-child {
    text-align: center;
}
.itemStyle300 {
    width: auto;
}

.showall-grid label {
    font-size: 11px;
    color: #333;
}
