*{
    padding: 0;
    margin: 0;
}

*{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
}
body{
	font-family: 'Poppins', sans-serif;
	font-size:14px;
	color:#191919;
    text-transform:initial;
    max-width:1920px;
    margin:0 auto;
	overflow-x:hidden;
}

table {
  font-size: 14px; /* Or 12pt, or 12em */
}

.inboxTable {
    font-size: 13px;
}

a,a:hover,a:active,a:focus {
	display:inline-block;
	text-decoration:none;
	color: #343a3f;
	font-size:16px;
	padding:0;
    font-weight: 500;
    text-transform: capitalize;
}
h1,h2,h3,h4,h5,h6 { 
	margin: 0;
	color:#343a3f;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}
p {
	margin: 0;
	color:#242527;
	font-size:14px;
    line-height: 1.8;
    text-transform: initial;
}
img{border:none;max-width:100%; height:auto;}
ul{
	padding: 0;
    margin: 0 auto;
    list-style: none;
}
ul li {
	list-style: none;
	
}
select,input,textarea,button{box-shadow:none;outline:0!important;}
button {background: transparent;border: 0;font-size: 12px;}

html,body{height: 100%;}

[placeholder]:focus::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s 0.3s ease; 
  -moz-transition: opacity 0.3s 0.3s ease; 
  -ms-transition: opacity 0.3s 0.3s ease; 
  -o-transition: opacity 0.3s 0.3s ease; 
  transition: opacity 0.3s 0.3s ease; 
  opacity: 0;
}
.required {
  color: red;
}

/* section-header */
.section-header{
    position: relative;
    text-align: center;
}
.section-header h2{
    color: #505866;
    font-size:24px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}
.section-header h2 span{text-transform: lowercase;}
.section-header p{
    font-size:16px;
}
/* section-header */
.fix{position: relative;clear: both;}
/*=============Style css=========*/


/*-------------------------------------
        2. Header-top
--------------------------------------*/
.header-top {
    border-bottom: 1px solid #f6f8fa;
    position: relative; /* ensure z-index works for children */
}

/* keep your existing inline-block layout */
.header-top ul li {
    display: inline-block;
}

.header-top-left li,
.header-top-right li {
    display: inline-block;
}

/* select container and user/page labels */
.select-opt,
.header-top-contact {
    padding: 10px 18px;
    border-right: 1px solid #f6f8fa;
}

.header-top-contact {
    border-right: 0;
    border-left: 1px solid #f6f8fa;
    font-size: 12px;
}

/* select element styles */
.select-opt select {
    border: none;
    cursor: pointer;
    color: #a7b0ba;
    font-size: 12px;
    font-weight: 300;
    position: relative;      /* bring above overlays */
    z-index: 1000;           /* ensure clickable */
    pointer-events: auto;    /* re-enable clicks */
}

/* select option text */
.select-opt option {
    color: #a7b0ba;
    text-transform: uppercase;
}

/* keep your magnifier icon styles */
.select-opt a span.lnr-magnifier:before {
    font-size: 12px;
    color: #373939;
}

/* links inside header */
.header-top-right ul li a {
    color: #a7b0ba;
    font-size: 12px;
    font-weight: 300;
}

/* logo */
.header-top-right ul img {
    height: 60px;
    width: 430px;
    display: inline-block;
}

/* extra safety: ensure all parent elements allow pointer events */
.header-top-right,
.header-top ul,
.header-top ul li {
    pointer-events: auto;
}



/*-------------------------------------
        3. Top-area
--------------------------------------*/
nav.navbar.bootsnav {
    background-color:#fff;
    border-bottom: transparent;
}
.wrap-sticky nav.navbar.bootsnav.sticked {background-color: #fff;box-shadow: 0 2px 5px rgba(0,0,0,.2);}

/*.navbar-brand*/
.navbar-header a.navbar-brand,.navbar-header a.navbar-brand:hover,.navbar-header a.navbar-brand:focus {
    display: inline-block;
    color: #1b1e20;
    font-size: 20px;
    font-weight: 700;
    padding: 34px 0px;
    text-transform:capitalize;
}
.navbar-header a.navbar-brand span{display: inline-block;color:#ff545a;text-transform:capitalize;}

.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand,.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:hover,.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:focus {padding:30px 0px;}
/*.navbar-brand*/

/*.nav li*/
nav.navbar.bootsnav ul.nav > li > a {
    color: #859098;
    font-size: 14px;
    font-weight: 500;
    text-transform:uppercase;
    -webkit-transition: 0.3s linear; 
    -moz-transition: 0.3s linear; 
    -ms-transition: 0.3s linear; 
    -o-transition: 0.3s linear; 
    transition: 0.3s linear;
}
nav.navbar.bootsnav ul.nav > li > a {padding:34px 21px;}
nav.navbar.bootsnav ul.nav > li > a:hover,nav.navbar.bootsnav ul.nav > li > a:focus{color: #ff545a;}
nav.navbar.bootsnav ul.nav > li.active>a {color: #ff545a;}

nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after {
    content: "";
}
nav.navbar.bootsnav ul.nav > li.dropdown span {
    font-size: 8px;
    margin-left: 15px;
}
.wrap-sticky nav.navbar.bootsnav.sticked ul.nav > li > a{padding:34px 21px;}
/*.nav li*/

/*.menu-ui-design*/
.menu-ui-design{overflow-y:scroll;height: 350px;}
.menu-ui-design::-webkit-scrollbar {
    width:5px;
}
.menu-ui-design::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 8px #000;
}
.menu-ui-design::-webkit-scrollbar-thumb {
  background-color: #ff545a;
}
/*.menu-ui-design*/

/*.navbar-toggle */
nav.navbar.bootsnav .navbar-toggle {
    position: relative;
    background-color: transparent;
    border: 1px solid #ff545a;
    padding: 10px;
    top: 0;
}
nav.navbar.bootsnav .navbar-toggle i{color: #ff545a;}
/*.navbar-toggle */

/*-------------------------------------
        4.  Welcome-hero
--------------------------------------*/
.welcome-hero {
    position: relative;
    background-color: #3d6076;
    background-position:center;
    background-size:cover;
    text-align: center;
    height:150px;
    z-index: 1;
}
.welcome-hero:before{
    position: relative;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:rgba(65,73,89,.65);
    z-index: -1;
}
.welcome-hero-txt { padding-top: 10px; padding-bottom: 20px;}

.welcome-hero-txt h2 {
    font-size: 32px;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    line-height: 1.4;
}
.welcome-hero-txt p {
    font-size: 18px;
    color: #fcfcfc;
    margin-top: 25px;
}

.welcome-hero-serch-box{margin-top: 40px; display: flex;}
.welcome-hero-form {
    display: flex;
    background: #fff;
    height: 70px;
    border-radius: 3px;
    width: 85%;
}
.single-welcome-hero-form {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 50%;
    padding: 0 30px;
}
.single-welcome-hero-form:first-child{border-right: 1px solid #edeff1;}
.single-welcome-hero-form input {
    margin-left: 10px;
    height: 20px;
    width: 100px;
    border: 0;
    background: transparent;
}
.single-welcome-hero-form input[type="text"]{
    font-size: 14px;
    color: #2e2e2f;
    text-transform: capitalize;
    font-weight: 500;
}
.welcome-hero-form-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #252d32;
}
.welcome-hero-btn {
    display:  flex;
    justify-content:  center;
    align-items:  center;
    font-size:  14px;
    color:  #3258e3;
    width:  140px;
    height:  70px;
    text-transform:  capitalize;
    margin-right: 30px;
    border-radius: 3px;
    margin-bottom: 10px;       
    box-shadow: 0 0px 10px rgba(71,71,71,.2);
    -webkit-transition: 0.3s linear; 
    -moz-transition: 0.3s linear; 
    -ms-transition: 0.3s linear; 
    -o-transition: 0.3s linear; 
    transition: 0.3s linear;        
}
.welcome-hero-btn:hover{/*background: #fd4043;*/background: #57a1f5;color:  #ffffff;}
.welcome-hero-btn:disabled {
    background: #e0e0e0;  /* light grey background */
    color: #888888;       /* grey text */
    cursor: not-allowed;  /* show 'not allowed' icon */
    box-shadow: none;     /* remove shadow for disabled look */
}
.welcome-hero-btn.disabled:hover {
     background: #e0e0e0; 
    color: #666 !important;
}
.welcome-hero-btn svg {
    width:  14px;
    height:  auto;
    margin-left:  12px;
}

/* Save button style */
.btn-save {
    background-color: #28a745;  /* green */
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: #218838;  /* darker green */
}

/* Cancel button style */
.btn-cancel {
    background-color: #dc3545;  /* red */
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background-color: #c82333;  /* darker red */
}


/*-------------------------------------
        5. List-topuics
--------------------------------------*/
.list-topics-content {
    position: relative;
    top: -98px;
    z-index: 1;
}
.list-topics-content ul li { 
    display: inline-block; 
}
.list-topics-content a {
    font-size: 14px;
    color: #13bff4;
}
.list-topics-content a:hover {
    font-size: 14px;
    color: #2922f6;
}

.single-list-topics-content{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 320px;
    height: 170px;
    background:#fff;
    border-radius: 3px;
    margin-right: 25px;
    margin-bottom: 20px;
    box-shadow: 0 0px 10px rgba(71,71,71,.2);
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}
.single-list-topics-content h2>a { margin: 13px 0;}
/*.single-list-topics-content:last-child{margin-right: 0;}*/

.single-list-topics-icon [class^="flaticon-"]:before,.single-list-topics-icon [class*=" flaticon-"]:before,.single-list-topics-icon [class^="flaticon-"]:after,.single-list-topics-icon [class*=" flaticon-"]:after {font-size: 45px;color:#343a3f;}
.single-list-topics-content:hover .single-list-topics-icon [class^="flaticon-"]:before,.single-list-topics-content:hover .single-list-topics-icon [class*=" flaticon-"]:before,.single-list-topics-content:hover .single-list-topics-icon [class^="flaticon-"]:after,.single-list-topics-content:hover .single-list-topics-icon [class*=" flaticon-"]:after {color:#fff;}

.single-list-topics-content:hover h2>a,.single-list-topics-content:hover p{color: #fff!important;}
.single-list-topics-content:hover{
    color: #fff;
    background:#5d92f6;
    box-shadow: 0 5px 10px rgba(71,71,71,.4);
}

/*-------------------------------------
        7. Explore
--------------------------------------*/
.explore{
    padding:117px 0 95px;
    background: #f8fafb;
}
.explore-content{margin-top: 78px;}

.close-btn {
    color: #f63138;
    text-transform: capitalize;
}
.close-btn.open-btn {color: #00c437;}
.explore-map-icon{text-align: right;}
.explore-map-icon a svg {
    width: 12px;
    height: 14px;
    margin-left: 23px;
    color: #767f86;
}
.explore-map-icon a svg:hover{color: #f63138;}
.single-explore-txt.bg-theme-2 .explore-map-icon a svg:hover{color: #00c437;}
.single-explore-item:hover{box-shadow: 0 10px 20px rgba(21,19,19,.2);}

/*-------------------------------------
        11. Subscribe
--------------------------------------*/
.subscription{
    background: #f8fafb;
    padding:150px 0;
}
/*subscribe-title*/
 .subscribe-title {margin-bottom: 52px;}

.subscribe-title h2{
    font-size:24px;
    font-weight: 500;
    text-transform: uppercase;
}
.subscribe-title p{
    color:#7b8088;
    font-size:16px;
    font-weight: 500;
    margin-top: 28px;
}/*subscribe-title*/

.subscription-input-group {
    position: relative;
    text-align: left;
    max-width: 400px;
    margin:0 auto;
}

/* Input field styles */
.subscription-input-group .subscription-input-form{
    display: inline-block;
    width: 400px;
    height: 60px;
    padding-left:10px;
    font-size: 12px;
    color: #393a3a;
    border-radius:3px;
    border:1px solid #fff;
    box-shadow: 0 0px 10px rgba(21,19,19,.1);
    transition:0.3s linear;
}
.subscription-input-group:hover .subscription-input-form{
    box-shadow: 0 5px 20px rgba(21,19,19,.4);
}

/* Textarea styles */
.subscription-input-group .subscription-input-form-txtarea{
    display: inline-block;
    width: 400px;
    height: 150px;
    padding-left:10px;
    font-size: 12px;
    color: #a5adb3;
    border-radius:3px;
    border:1px solid #fff;
    box-shadow: 0 0px 10px rgba(21,19,19,.1);
    transition:0.3s linear;
}
.subscription-input-group:hover .subscription-input-form-txtarea{
    box-shadow: 0 5px 20px rgba(21,19,19,.4);
}

/* Button base style */
.subscription-input-group .subscription-input-form-btn{
    display: inline-block;
    width: 400px;
    height: 50px;
    padding-left:10px;
    font-size: 12px;
    color: #ffffff;
    background-color: #13bff4;  /* default blue for Save */
    border-radius:3px;
    border:1px solid #fff;
    box-shadow: 0 0px 10px rgba(21,19,19,.1);
    transition:0.3s linear;
}

/* Remove previous group hover for buttons */
/* .subscription-input-group:hover .subscription-input-form-btn { ... } */

/* Save button hover */
.subscription-input-group .subscription-input-form-btn#save:hover {
    background-color: #2a51fb;
    box-shadow: 0 5px 20px rgba(21,19,19,.4);
}

/* Cancel button hover */
.subscription-input-group .subscription-input-form-btn#cancel:hover {
    background-color: #3c42f4; /* red */
    box-shadow: 0 5px 20px rgba(21,19,19,.4);
}

/*-------------------------------------
        12. Footer
--------------------------------------*/
.footer-menu {padding: 45px 0;}
.footer-menu .navbar-header{padding:0;}
.footer-menu .navbar-header a.navbar-brand,.footer-menu.footer-menu .navbar-header a.navbar-brand:hover,.footer-menu .navbar-header a.navbar-brand:focus{
    padding:0;
    height: 0;
}
.footer-menu ul.footer-menu-item{text-align: right;}
.footer-menu ul.footer-menu-item li{display: inline-block;}
.footer-menu ul.footer-menu-item li a {
    color: #859098;
    font-size: 10px;
    text-transform: uppercase;
    padding-left: 40px;
    -webkit-transition:0.3s linear;
    -moz-transition:0.3s linear;
    -o-transition:0.3s linear;
    transition:0.3s linear;
}
.footer-menu ul.footer-menu-item li a:hover{color: #f43032;}
.hm-footer-copyright {
    padding: 40px 0;
    border-top: 1px solid #e1e5eb;
    margin-top: 3rem;
}
.hm-footer-copyright p,.hm-footer-copyright p a {
    color: #a5adb3;
    font-size: 12px;
    font-weight: 400;    
}
.footer-social {text-align: right;}
.footer-social .fa-phone:before {
    position: relative;
    top: 2px;
}
.footer-social a ,.footer-social span {
    display: inline-block;
    color: #afb4bf;
    font-size: 12px;
    margin-left: 15px;
    -webkit-transition: .3s; 
    -moz-transition:.3s; 
    -ms-transition:.3s; 
    -o-transition:.3s;
    transition: .3s;
}
.footer-social a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #eef2f6;
    text-align: center;
    border-radius: 50%;
}
.footer-social span {margin-right:15px;margin-left: 0;color: #a5adb3;}
.footer-social span:hover{color: #ff545a;}
.footer-social a:hover {background:#ff545a;color: #fff;}

/*===============================
    Scroll Top
===============================*/
#scroll-Top  .return-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background:#ff545a;
	border:1px solid #ff545a;
	border-radius:50%;
	-webkit-transition: .5s; 
	-moz-transition:.5s; 
	-ms-transition:.5s; 
	-o-transition:.5s;
    transition: .5s;
	z-index: 2;
}
#scroll-Top  .return-to-top:hover {
    background:#f43032;
	border:1px solid #ff545a;
}

#scroll-Top  .return-to-top i{
    position:relative;
    bottom:0;

}

#scroll-Top  .return-to-top i{
    position: relative;
    animation-name: example;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-duration:1s;
}
@keyframes example {
    0%   {bottom:0px;}
    100%  {bottom:7px;}
}
.box {
  position: relative;
  max-width: 100%;
  width: 100%;
  background: #fff;
  padding: 25px;
  
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.box header {
  font-size: 1.5rem;
  color: #333;
  font-weight: 500;
  text-align: center;
}
.box .form {
  margin-top: 30px;
}
.form .input-box {
  width: 100%;
  margin-top: 10px;
}
.input-box label {
  color: #333;
  font-size: 12px;
}
.form :where(.input-box input, .select-box) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 12px;
  color: #070707;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}

.form :where(.input-box input, .select-box)::placeholder {
  color: #c3c0c0;
  font-style: italic;
  opacity: 1; /* Ensure it's visible */
}


.input-box .file-index-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.input-box .file-index-wrapper .prefix {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: #333;
  height: 50px;
  margin-top: 8px;
  display: inline-flex;
  white-space: nowrap;
}

.input-box .file-index-wrapper select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 12px;
  height: 50px;
  margin-top: 8px;
}
.input-box .file-index-wrapper .select2-container .select2-selection--single {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: #0c0c0c;
  height: 50px;
  margin-top: 8px;
  display: flex;
  white-space: nowrap;
}

.input-box .file-index-wrapper .select2-container--default .select2-selection__placeholder {
  color: #0e0d0d;  
}

/* Adjust dropdown arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  right: 10px;
}

/* Dropdown options font size */
.select2-results__option {
  font-size: 12px;
}


.input-box input[type="file"] {
  width: 100%;
  font-size: 12px;
  color: #707070;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
}

/* Style the "Choose File" button */
.input-box input[type="file"]::file-selector-button {
  font-weight: bold;
  background-color: #e3f2fd;
  color: dodgerblue;
  padding: 0.5em 1em;
  border: 1px solid #90caf9;
  border-radius: 4px;
  margin-right: 12px;
  cursor: pointer;
  flex: 0 0 90%;
  
}

/* Remove default outline on focus */
.input-box input[type="file"]:focus {
  outline: none;
  border-color: #42a5f5;
  flex: 0 0 90%;
 
}

.file-preview {
     width: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

/* Thumbnail preview image */
.file-preview img {
  width: 120px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Filename or content beside image */
.file-preview span {
  flex-grow: 1;
  font-size: 12px;
  color: #444;
}

/* Remove (X) button */
.file-preview button.remove-btn {
    background: none;
    border: none;
    color: rgb(238, 45, 45);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    width: auto;
    height: auto;
    display: inline; 
    transition: background-color 0.2s ease;
}
.file-preview button.remove-btn:hover {
  background-color: rgba(112, 6, 6, 0.1); /* light red background on hover */
  color: darkred;
}
.file-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-list-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-box .file-group .add-file-btn {
    flex: 0 0 10%;
    height: 50px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: bold;
    background: rgb(53, 172, 236);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.input-box .file-group .add-file-btn:hover {
  background: rgb(26, 99, 235);
}

.form :where(.input-box textarea) {
  position: relative;
  width: 100%;
  height: 50px;
  outline: none;
  font-size: 12px;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}
.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.form .column {
  display: flex;
  column-gap: 15px;
}
.form .gender-box {
  margin-top: 20px;
}
.gender-box h3 {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.form :where(.gender-option, .gender) {
  display: flex;
  align-items: center;
  column-gap: 50px;
  flex-wrap: wrap;
}
.form .checkbox {
  column-gap: 5px;
}
.checkbox input {
  accent-color: rgb(130, 106, 251);
}
.form :where(.checkbox input, .checkbox label) {
  cursor: pointer;
}
.checkbox label {
  color: #707070;
}
.form .gender {
  column-gap: 5px;
}
.gender input {
  accent-color: rgb(130, 106, 251);
}
.form :where(.gender input, .gender label) {
  cursor: pointer;
}
.gender label {
  color: #707070;
  font-size: 12px;
}
.address :where(input, .select-box) {
  margin-top: 15px;
}
.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
}
.form .sub-btn {
  height: 55px;
  width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  /* margin-top: 10px; */
  margin-bottom: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgb(53, 172, 236);
}
.form .sub-btn:hover {
  background: rgb(26, 99, 235);
   color: #fff;
}
/* Disabled button styles */
.form .sub-btn:disabled {
  background-color: #ccc;      /* greyed out */
  color: #666;
  cursor: not-allowed;
  /* remove box shadow or other effects if you have them */
  box-shadow: none;
}

/* IMPORTANT: Disable hover effects when disabled */
.form .sub-btn:disabled:hover {
  background-color: #ccc;  /* same as normal disabled background */
  cursor: not-allowed;     /* show disabled cursor */
}

.notesheet-box {
    border: 1px solid #ccc;
    padding: 3rem;
    background: #f2fddf;
    position: relative;
    color: #131212;
}
.entry-number {
    position: absolute;
    left: -2.3rem;
    font-weight: bold;
}
.entry {
    border-left: 2px dotted brown;
      padding-left: 1.5rem;
      margin-bottom: 3rem;
      margin-left: 1rem;
      position: relative;
}
.notesheet-date {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.signature {
    text-align: right;
    margin-top: 2rem;
}
.college-name {
    font-weight: bold;
    color: #003366;
}
.pagination-controls {
    background-color: #afe283;
    text-align: center; 
    margin-bottom: 1rem;
    margin-left: 1rem;
}
.pagination-controls button {
    background: #99cc00;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}
.pagination-controls button:disabled {
    background: #ccc;
}
.edit-btn {
  margin-top: 10px;
  text-align: right;
}


    #newEntryForm {
      display: none;
      background-color: #fff8d9;
      padding: 1rem;
      border: 1px dashed #aaa;
    }


/*Responsive*/
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }
}

#a4Preview .a4-page-content {
    width: 100%;
    overflow-y: auto;
    padding: 20px;
    page-break-after: always;
}

.a4-page {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    font-size: 12px;
    font-family: "Times New Roman", Times, serif;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 20mm;
    padding-top: 40px;
    box-sizing: border-box;
    position: relative;
    page-break-after: always;
}

.draft-content {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.signature-section {
    margin-top: 70px;
    font-size: 12px;
    text-align: right;
    page-break-inside: avoid;
}
.signature-section p{    
    font-size: 12px;
}
.a4-page h1,h2,h3,h4,h5{
    text-align: center;
}
.custom-textarea {
  width: 100%;
  height: 400px;
  padding: 15px;
  font-size: 12px;
  font-family: "Times New Roman", Times, serif;
  border: none;
  outline: none;
  background-color: #f9f9f9;
  resize: vertical; /* or none, both, horizontal */
}

textarea.custom-textarea:focus {
  border-color: #007BFF;
  outline: none;
  background-color: #fff;
}

@media print {
  body {
    background: white;
    margin: 0;
  }
  .a4-page {
    width: 210mm;
    height: 297mm;
    box-shadow: none;
    page-break-after: always;
  }
}
/* Mobile fixes */
@media (max-width: 768px) {
    .header-top ul li { display: block; width: 100%; }
    .select-opt { width: 100%; z-index: 1000; position: relative; }
    .select-opt select { width: 100%; pointer-events: auto !important; z-index: 1001 !important; }
    .header-top-right ul img { width: auto; max-width: 100%; height: 50px; }
}