.regLogin-pg .form-group {
    min-height: 95px;
}
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.registration-card {
    width: 100%;
    max-width: 700px;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    width: 120px;
    height: 40px;
    /*background-color: var(--primary-color);*/
    /*border-radius: 50%;*/
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    margin: 0;
}

.custom-box {
    width: 420px;                        /* Custom width */
    height: 460px;                       /* Custom height */
    background-color: var(--primary-color); /* Default background color */
    color: white;                        /* White text */
    border-radius: 1rem;                 /* Rounded corners */
    display: flex;
    justify-content: center;             /* Center text horizontally */
    align-items: center;                 /* Center text vertically */
    flex-direction: column;              /* Stack text and icon vertically */
    font-size: 2rem;                     /* Large font size */
    text-align: center;                  /* Ensure text is centered */
    cursor: pointer;                    /* Change cursor on hover */
    transition: background-color 1s ease, color 1s ease, box-shadow 1s ease; /* Smooth transition for background and text color */
    text-decoration: none;               /* Remove underline */
    padding: 20px;                       /* Add padding around content */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Add soft shadow for depth */
}

.custom-box:hover {
    background-color: white;            /* On hover, background color changes to white */
    color: var(--primary-color);         /* Text color changes to primary color */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); /* Increase shadow depth */
}

/* Icon color change on hover */
.custom-box:hover .bi {
    color: var(--primary-color); /* Change icon color to primary on hover */
}

.custom-box .bi {
    color: white;                       /* Set icon color to white */
    margin-bottom: 15px;                 /* Space between icon and text */
    font-size: 3rem;                     /* Larger icon size */
}

/* Login Box: Changes for primary color */
.login-box {
    background-color: var(--primary-color); /* Default background color for Login */
}

.login-box:hover {
    color: var(--primary-color); /* Text color changes to primary color */
}

/* Register Box: Changes for secondary color */
.register-box {
    background-color: var(--secondary-color); /* Default background color for Register */
}
.register-box:hover .bi {
    color: var(--secondary-color); /* Change icon color to primary on hover */
}

.register-box:hover {
    color: var(--secondary-color); /* Text color changes to secondary color */
}

/* Hyperlink Styling */
.progress-link {
    display: block;
    color: var(--primary-color) ; /* Primary color */
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.progress-link:hover {
    color: var(--secondary-color); /* Darker shade on hover */
    text-decoration: underline;
}

.progress-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color-light); /* Focus ring for accessibility */
}

/* Spacing between individual links */
.progress-link + .progress-link {
    margin-top: 10px;
}
/*/////////////////////*/
/* Styling for the progress link (anchor tag) */
.progress-link {
    display: flex;
    align-items: center;
    font-size: 1rem;  /* Adjust font size for part name */
    font-weight: bold;
}

/* Styling for the progress percentage outside the anchor tag */
.progress-link + span {
    font-size: 1rem; /* Adjust font size */
    font-weight: bold; /* Make the percentage bold */
}

/* Styling for the progress bar */
.progress {
    height: 2px;  /* Set height of the progress bar to 2px */
    position: relative;
}

/* Progress bar styling */
.progress-bar {
    height: 100%;
    background-color: var(--secondary-color); /* Progress bar color */
    position: relative;
}

/* Progress Percentage Styling (displayed inside the progress bar) */
.progress-bar .progress-percentage {
    position: absolute;
    top: -20px; /* Position the percentage above the bar */
    right: 0;  /* Align the percentage to the right side */
    color: #000;  /* Make the text color black for better visibility */
    font-weight: bold; /* Optional: make the text bold */
    font-size: 0.9rem; /* Adjust font size */
}

/* Divider between parts */
hr {
    border: 0;
    border-top: 1px solid #dee2e6; /* Light divider line */
    margin-top: 1rem;
    margin-bottom: 1rem;
}/* Styling for the progress link (anchor tag) */
.progress-link {
    display: flex;
    align-items: center;
    font-size: 1rem;  /* Adjust font size for part name */
    font-weight: bold;
}

/* Styling for the progress percentage outside the anchor tag */
.progress-link + span {
    font-size: 1rem; /* Adjust font size */
    font-weight: bold; /* Make the percentage bold */
    color: inherit; /* No color set, it will inherit from the parent */
}

/* Styling for the progress bar */
.progress {
    height: 2px;  /* Set height of the progress bar to 2px */
    position: relative;
}

/* Progress bar styling */
.progress-bar {
    height: 100%;
    background-color: var(--secondary-color); /* Progress bar color */
    position: relative;
}

/* Progress Percentage Styling (displayed inside the progress bar) */
.progress-bar .progress-percentage {
    position: absolute;
    top: -20px; /* Position the percentage above the bar */
    right: 0;  /* Align the percentage to the right side */
    color: #000;  /* Make the text color black for better visibility */
    font-weight: bold; /* Optional: make the text bold */
    font-size: 0.9rem; /* Adjust font size */
}

.invalid-feedback-frontEnd {
    display: none; /* Hides the element by default */
}

/* Ensure the form-group takes full height to accommodate the character count */
.form-group {
    position: relative;
}

/* Position the character count at the bottom-right of the input */
.regLogin-pg .form-group .form-char-limit {
    bottom: 9px;
}
.form-group {
    padding-right: 0;
}

.form-group .form-char-limit {
    position: absolute;
    bottom: -13px;
    right: 10px;
    font-size: 0.75rem;
    z-index: 1;
    background-color: #fff;
    padding: 5px;
}

.theme-table2 td input[type='text'],
.theme-table2 td select,
.theme-table2 td textarea,
td .checkRadio-bg {
    min-width: 165px;
    padding: .75rem .75rem .75rem .75rem
}

.theme-table2 td input[type='text'],
.theme-table2 td select,
.theme-table2 td textarea,
td .checkRadio-bg1 {
    min-width: 118px;
    padding: .75rem .75rem .75rem .75rem
}

.form-group textarea {
    min-height: 75px;
}

.left-align {
  text-align: left !important;
}

.lined-textarea {
	width: 100%;
	height: 300px;
	line-height: 1.6em;
	background: repeating-linear-gradient(white,
			white 23px,
			#ccc 24px);
	border: 1px solid #000;
	font-family: monospace;
	padding: 5px;
}

/* make the table fixed layout so columns don't change width per row */
.form-table1 {
  width: 100%;
  table-layout: fixed;        /* IMPORTANT: fixes column widths */
  border-collapse: collapse;
}

/* column widths */
.form-table1 .label-col { width: 45%; }   /* left column for label (wraps) */
.form-table1 .input-col { width: 14%; }   /* right column for inputs */

/* padding / alignment for cells */
.form-table1 th, .form-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  word-wrap: break-word;
  white-space: normal;
}

/* left column: label styles (allow wrapping) */
.form-table1 .label-cell .line-number {
  display: inline-block;
  margin-right: .5rem;  
}

/* right column: use flex so input is anchored to the right edge */
.form-table1 .input-cell {
  display: flex;
  justify-content: flex-end;   /* push input to the right */
  align-items: center;         /* vertical centering */
}

/* input width control: fixed-but-responsive */
.form-table1 .fixed-input {
  width: 230px;         /* desired visual width on desktop */
  max-width: 100%;      /* responsive: won't overflow on small screens */
  box-sizing: border-box;
  text-align: right;    /* optional: align number inside input to right */
}

.schRP5 {
	padding-bottom: 15px;
}

.schDWidth{
	margin-left: 15px;
	width: 240px;
}

.schRdWidth{
	width: 20% !important;
}

.theme-form .form-group {
    margin-bottom: 1.5rem !important;
}

.theme-form .checkRadio-bg .form-group {
    margin-bottom: 0 !important;
}

.theme-form .filing,
.regLogin-pg .theme-form .form-group {
    margin-bottom: 0 !important;
}
/*.form-check-inline {*/
/*    margin-right: 10px;*/
/*}*/
.form-check-label {
    margin-top: 1px;
}

.form-select:disabled {
    background-color: var(--bs-secondary-bg) !important;
}
/* Scrollable table both directions */
 .gm-table-wrap {
     max-height: 420px;
     overflow-y: auto;
     overflow-x: auto;
     border: 1px solid #e5e7eb;
     border-radius: .5rem;
     background: #fff;
 }
#gmTable {
    width: 1600px;
    min-width: 1400px;
    border-collapse: separate;
    border-spacing: 0;
}
#gmTable thead th {
    position: sticky; top: 0; z-index: 2;
    background: #f8f9fa; box-shadow: inset 0 -1px 0 #dee2e6;
}
#gmTable th, #gmTable td {
    padding: .6rem .9rem; border: 1px solid #dee2e6;
    text-align: center; vertical-align: middle; white-space: nowrap;
}
#gmTable td.text-start { white-space: normal; }
/* Wider columns */
#gmTable th:nth-child(1), #gmTable td:nth-child(1) { width: 260px; }
#gmTable th:nth-child(2), #gmTable td:nth-child(2) { width: 90px; }
#gmTable th:nth-child(3), #gmTable td:nth-child(3) { width: 300px; } /* Address */
#gmTable th:nth-child(4), #gmTable td:nth-child(4) { width: 200px; }
#gmTable th:nth-child(5), #gmTable td:nth-child(5) { width: 200px; }
#gmTable th:nth-child(6), #gmTable td:nth-child(6) { width: 200px; }
#gmTable th:nth-child(7), #gmTable td:nth-child(7) { width: 150px; }
#gmTable th:nth-child(8), #gmTable td:nth-child(8) { width: 120px; }
/* Compact address height but resizable */
.theme-form .gm-addr1 {
    font-size: 0.9rem;
    line-height: 1.3;
    min-height: 64px;
    max-height: 160px;
    resize: vertical;         /* allow user to expand if needed */
    padding: .375rem .5rem;
    white-space: pre-wrap;
    word-break: break-word;
}
#gmTable th:last-child, #gmTable td:last-child {
    position: sticky; right: 0; background: #fff; z-index: 3; box-shadow: -1px 0 0 #dee2e6;
}

.form-check-inline .form-check-info {
    font-size: .75rem;
    color: var(--simple-blue-color);
    padding-left: 30px;
}

.theme-form .form-control, .theme-form .form-select {
    min-width: 200px;
}