:root {
    --primary-color: #9C3234;
    --secondary-color: #F1A300;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --border-color: #d1d9e6;
}

.intro-box { background-color: #fceceb; padding: 20px; border-left: 5px solid var(--primary-color); margin-bottom: 30px; border-radius: 4px; }
.gate-box { background-color: #f0f2f5; padding: 25px; border: 1px solid #d1d9e6; border-radius: 6px; margin-bottom: 30px; }
.tab-bar { display: flex; background: #e9ecef; border-radius: 8px; margin-bottom: 30px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); }
.tab-btn { flex: 1; padding: 15px 10px; border: none; background: none; cursor: pointer; font-weight: 600; font-size: 14px; color: #555; transition: all 0.3s ease; text-align: center; border-right: 1px solid #dee2e6; }
.tab-btn:last-child { border-right: none; }
.tab-btn:hover { background: #dde2e6; }
.tab-btn.active { background: var(--primary-color); color: white; }
.form-section { display: none; background: #fafafa; border: 1px solid var(--border-color); padding: 30px; border-radius: 8px; margin-bottom: 30px; }
.form-section.active { display: block; animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.nav-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
.nav-buttons-left { display: flex; gap: 15px; }
.form-group { margin-bottom: 25px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: #2c3e50; font-size: 15px; }
.upload-box { background: #fdfdfd; border: 1px dashed #bbb; padding: 15px; border-radius: 6px; margin-top: 10px; }
.upload-box label { font-size: 13px; color: #444; margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="url"], textarea, select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-family: inherit; background-color: #fff; height: auto;}
input[type="file"] { display: block; margin-top: 5px; font-size: 14px; }
input[type="text"]:focus, textarea:focus, select:focus, input[type="url"]:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 5px rgba(156,50,52,0.2); }
input[type="radio"], input[type="checkbox"] { margin-right: 10px; transform: scale(1.2); }
.radio-group, .checkbox-group { margin-bottom: 12px; background: #fff; padding: 10px; border: 1px solid #eee; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; background: #fff; }
th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
th { background-color: #f0f0f0; font-weight: 600; }
.btn { background-color: var(--primary-color); color: white; border: none; padding: 12px 24px; font-size: 16px; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.3s; }
.btn:hover { background-color: #7a2729; }
.btn-secondary { background-color: #6c757d; color: white; border: none; padding: 12px 24px; font-size: 16px; border-radius: 4px; cursor: pointer; }
.btn-secondary:hover { background-color: #5a6268; }
.btn-save { background-color: #17a2b8; color: white; border: none; padding: 12px 24px; font-size: 16px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.btn-save:hover { background-color: #138496; }
.btn-danger { background-color: #dc3545; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; }
.btn-submit { background-color: var(--secondary-color); color: #000; font-size: 18px; padding: 14px 30px; }
.btn-submit:hover { background-color: #d69000; }
.hidden { display: none !important; }
.alert { background-color: #ffebee; color: #c62828; padding: 15px; border-radius: 4px; margin-top: 15px; font-weight: bold; border-left: 5px solid #c62828; }
.required { color: #d32f2f; }
.other-input { margin-top: 10px; border-left: 3px solid var(--secondary-color); padding-left: 10px; }

.table_style1 table {
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
}
.table_style1 th,.table_style1 td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}
.table_style1 th {
    background-color: #9e2f2f;
    color: #fff;
    font-weight: bold;
}
.table_style1 th:first-child, td:first-child {

}
.table_style1 th:last-child, .table_style1 td:last-child {
    width: 180px;
}
.optional_document_content h5{
    font-size: 16px;
    font-weight: 600;
}
.optional_document_content ol{
    margin: 0;
    padding: 0 0 0 15px;
}
.optional_document_content ol li{
    font-size: 13px;
    margin-bottom: 2px;
}


/*============responsive============*/
@media(max-width: 767px){
.gate-box{padding: 10px;}    
.tab-bar{overflow-x: scroll;}
.sgc-content-wrap table{display: block;overflow: scroll;}
.sgc-app-content-card{padding: 0;}
.form-section{padding: 10px;}
#statesTable th{min-width: 190px;}
#statesTable th:last-child,
#statesTable th:nth-last-child(2){min-width: 100px;}
.cross-corp-table th{min-width: 150px;}
}