html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/*================== NAVIGATION ==================*/
.navigation {
	background: linear-gradient(45deg, #003984, #b02745);
	padding: 5px;
	color: #ffffff;
	box-shadow: 0 1px 9px 2px rgb(1 1 1 / 9%);
}

.logo {
	/*ORANGE*/background-image: url("../../lib/img/AIPaySlips-LOGO.png");
	background-repeat: no-repeat;
    background-size: 180px auto;
    height: 70px;
	width: 180px;
	float: left;
	margin-left: 50px;
}

.site-title img {
    width: 210px;
    height: 70px;
}

.site-title a {
  text-align: left;
	font-size: 30px;
	color: #ffffff;
	text-decoration: none;
	font-family: times;
	float: left;
	margin-left: 20px;
  margin-top: 10px;
  text-shadow: 0 5px 5px #187065;
}
.site-title a hover{
    text-decoration:none
}

.menu {
	text-align: right;
	padding: 5px;
	font-family: sans-serif
}

.menu-icon {
	margin-bottom: 0px;
}

.menu-btn {
	display: none
}

.menu-btn:checked~.menu-links {
	display: block;
	padding-top: 30px;
}

.menu-links a {
	text-align: left;
	display: block;
	margin: 20px;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
}

.menu-links a:hover {
  color: #66bffa
}

.menu-links {
	padding-inline-start: 5px;
	display: none
}

.menu span {
	padding: 5px 20px;
	font-size: 30px;
	cursor: pointer
}
/*================== NAVIGATION ==================*/



/*================== ROW & COLUMNS ==================*/
/* Remove extra left and right margins, due to padding */
.row {
	margin: auto;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.container-column {
	display: flow-root;
    margin: 20px;
}

/* left-Right Columns */
.leftcolumn {   
  float: left;
  width: 80%;
  padding: 20px;
  padding-left: 40px;
}

.rightcolumn {
  float: left;
  width: 20%;
  padding: 20px;
}
/* left-Right Columns */

/* Column 50% */
.column-2 {
    float: left;
    width: 50%;
    padding: 20px 20px;
}
/* Column 50% */

/* Column 33.33% */
.column-3 {
    float: left;
    width: 33.33%;
    padding: 20px 20px;
}
/* Column 33.33% */

/* Column 25% */
.column-4 {
    float: left;
    width: 25%;
    padding: 20px 20px;
}
/* Column 25% */
/*================== ROW & COLUMNS ==================*/

/*================== CARDS ==================*/
.card {
  font-family: sans-serif;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dadce0;
  box-shadow: none;
}

/* Container for the two inner cards */
.inner-card-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Individual inner cards */
.inner-card {
  width: 50%;
  background-color: #fff;
  padding: 10px;
}

.card-2,.card-3,.card-4 {
	font-size: 18px;
  color: #393939;
	box-shadow: 0 0 20px 5px #cbffde;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    width: 100%;
    height: 105px;
	border-radius: 100px;
}
.card-2:hover, .card-3:hover, .card-4:hover {
  box-shadow: 0 0 20px 5px rgb(117 255 130);
  color: #008444ff;
  background-color: #fff;
  transition: 0.3s ease, fill 0.3s ease;
}
.card-4:hover .cardicon {
    color: #008444ff;
    fill: #008444ff;
}
.cardicon {
	font-size: 40px;
	color: #00e;
	fill: #00e;
	vertical-align: middle;
	float: left;
    padding: 10px;
    margin-right: 10px;
}
/*.card-2:hover, .card-3:hover, .card-4:hover i, ic {
    color: #008444ff;
	fill: #008444ff;
    transition: color 0.3s ease, fill 0.3s ease;
}*/
.cardtitle {
	/*font-size: 20px;*/
	/*font-weight: 700;*/
	margin: 20px;
	text-align: center;
	text-shadow: 2px 3px 2px rgba(174,174,174,0.3);
}
/*================== CARDS ==================*/

/*================== ADBOX ==================*/
.adbox {
	margin: auto;
  max-width: 900px;
  padding: 10px;
}
/*================== ADBOX ==================*/

/*================== MAIN ==================*/
main {
	max-width: 100%;
	overflow: hidden;
	margin: 20px auto;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-container {
	max-width: 100%;
}

label {
	display: block;
	font-weight: bold;
	margin-bottom: 10px;
}

input {
	padding: 10px;
	border: none;
	border-radius: 5px;
	/*margin-bottom: 20px;*/
	width: 100%;
}

button {
	padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #003984;
    color: #fff;
    cursor: pointer;
}

button:hover {
cursor: pointer;
background-color: #001284;
color: #fff;
}


textarea {
    padding: 10px;
    width: 100%;
    background: #fff;
    cursor: pointer;
    color: #000;
    border: 1px solid #abababa1;
    border-radius: 1px;
    outline: 0;
    font-family: Cardo, Arial;
    resize: none;
    border-style: solid;
}		
/*================== MAIN ==================*/

/*================ PayStub MAIN CONTAINER ================*/
#resultTitle {
  color: blue;
  text-align: center;
  font-size: 24px;
font-weight: 700;
  }
  
      form {
          display: flex;
          flex-direction: column;
      }

/*    .form-sections {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
  }*/

.input-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  box-sizing: border-box;
}

.input-section h2 {
  grid-column: span 2;
}

.input-section label {
  margin-bottom: 4px;
  font-weight: bold;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  margin-top: 4px;
}

.input-group input[type="checkbox"] {
  width: auto;
  margin-top: 8px;
}

.input-group input[type="file"] {
  padding: 0;
  margin-top: 8px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .input-section {
    grid-template-columns: 1fr; /* Stacks inputs vertically on smaller screens */
  }

  .input-section h2 {
    grid-column: span 1; /* Adjust heading to span one column on small screens */
  }
}

      .line-item {
          display: flex;
          gap: 10px;
          margin-bottom: 10px;
      }

      .line-item input {
          flex: 1;
      }

      #addLineItem, #addOtherIncome {
          background-color: #007bff;
          color: #fff;
          margin-top: 10px;
          padding: 10px;
          border-radius: 5px;
          cursor: pointer;
          text-align: center;
      }

      #addLineItem:hover, #addOtherIncome:hover {
          background-color: #0056b3;
      }

     
/* Section Styling */
section {
  margin-bottom: 20px;
}

/*h2 {
  border-bottom: 2px solid #00ff3b;
  padding-bottom: 10px;
  margin-bottom: 20px;
}*/

/* Line Item Styling */
.line-item {
  display: flex;
  margin-bottom: 10px;
}

.line-item input {
  margin-right: 10px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  flex: 1;
}

.line-item input[type="number"] {
  text-align: right;
}

/* Deduction and Other Income Sections */
#deductionsSection, #otherIncomeSection {
  
}

#deductionsContainer, #otherIncomeContainer {
  margin-bottom: 10px;
}
.other-income-item, .deduction-item {
display: flex;
  gap: 10px;
}
.remove-item {
background-color: #ffccac;
  color: red;
}

/* Preview Section Styling */
.professional-header {
  background-color: #003984;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 24px;
  margin-bottom: 20px;
}

.result {
margin-top: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#payStubPreview {
font-size: 12px;
padding: 20px;
background-color: #fff;
}

#payStubPreview h2 {
  font-size: 1.2em;
  color: #333;
}

.totalling-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.totalling-table th,
.totalling-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.preview-table th,
.preview-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.preview-table th {
  background-color: #ebf3ff;
}

.company-logo,
.employee-photo {
  width: 100px;
  height: 100px;
}

.preview-container {
  /*display: flex;*/
  justify-content: space-between;
}

.preview-table-container {
  width: 100%;
}

.employee-photo {
  /*float: right;*/
}

#payStubPreview .line-item {
  margin-bottom: 5px;
}

#payStubPreview .line-item input {
  padding: 3px;
  font-size: 13px;
}

#payStubPreview .line-item input[type="number"] {
  text-align: right;
}
#previewNetPay {font-size:18px;color:green;}

@media (max-width: 768px) {
      .form-sections {
          grid-template-columns: 1fr;
      }
  } 
/*================ PayStub MAIN CONTAINER ================*/

/*================ PAYSLIP MAIN CONTAINER ================*/
.tool-header {
  padding: 0px;
}
.toolname {
  font-size: 24px;
  font-weight: bold;
  color: #003984;
  margin-bottom: 5px;
}

.toolnamefeature {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
}

.payslip-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
box-shadow: rgb(25 25 71 / 36%) 0px 7px 29px 0px;
}
.payslip-container-preview {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

.col-12, .col-sm-12, .col-lg-6 {
  padding: 10px;
  box-sizing: border-box;
}

.col-sm-12 {
  width: 100%;
}

.col-lg-6 {
  width: 50%;
}




/*========== Toggle & Tag ==========*/
.toggle-tag {
  display: flex;
}
@media (min-width: 768px) {
  .toggle-tag {
    margin-left: 55px;
}
}
/* TOGGLE SECTION */
.cache-toggle-wrapper {
  display: grid;
  font-family: sans-serif;
  font-weight: 700;
  color: #9a9a9a;
  width: 100%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  width: 60PX;
  height: 100%;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 32px;
  width: 32px;
  left: 4px;
  top: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #003984;
}

input:focus + .slider {
  box-shadow: 0 0 1px #003984;
}

input:checked + .slider:before {
  transform: translateX(0) translateY(0) translate(0, 0);
  left: auto;
  right: 4px;
}

/* Square sliders (remove rounding) */
.slider.round {
  border-radius: 5px;/*34px;*/
}

.slider.round:before {
  border-radius: 5px;/*50%*/
}
/* TOGGLE SECTION */

/* TAG SECTION */
.tag {
  background: linear-gradient(to right, #006eff, #6f0018);
  height: 60px;
    padding: 10px;
	padding-left: 50px;
    float: right;
	margin-right: -25px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);
}
.tag input {
	background-color: transparent;
  color: #fff;
	font-weight: 700;
    padding: 10px;
	border-bottom: none!important;
    border: none;
	width: 170px;
}
@media (max-width: 768px) {
  .tag {
  padding-left: 25px;
  }
}
/* TAG SECTION */
/*========== Toggle & Tag ==========*/



/*========== Company Section ==========*/
.company-sectiom {
  padding: 1px 20px;
}
input#companyName {
  font-size: 20px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}
#previewCompanyName {
  font-size: 20px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .company-sectiom {
    padding: 0px;
  }
}

/* Logo & Month-Section */
.details-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
}

.upload-section {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.upload-content {
  text-align: center;
  background-color: aliceblue;
  border: 1px dotted #dfdfdf;
  border-radius: 5px;
  cursor: pointer;
}

.upload-content i {
  font-size: 24px;
  color: #007bff;
}

.upload-content p {
  margin: 0;
  color: #007bff;
font-size: 12px;
}

.uploaded-image {
  position: relative;
  display: inline-block;
}

.uploaded-image img {
  height: 120px;
  border-radius: 5px;
  margin: 5px;
}
/* Logo & Month-Section */

/*========== Company Section ==========*/


.result {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #fff;
box-shadow: rgb(25 25 71 / 36%) 0px 7px 29px 0px;
}



/* Main Section */
.main-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Button Wrapper */
.button-wrapper {
  text-align: right;
  margin-bottom: 10px;
}

.button-wrapper .btn {
  margin-left: 10px;
}



/* Employee Pay Summery */
.employee-summary, 
.employee-summary-preview {
  padding: 0px 20px;
  margin-bottom: 20px;
}
.employee-summary {
  background-color: #ebf3ff;
}
@media (max-width: 768px) {
  .employee-summary, 
  .employee-summary-preview {
  padding: 0px;
}
}



.delete-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  display: none;
}

.uploaded-image:hover .delete-btn {
  display: block;
}

.delete-btn i {
  color: #dc3545;
}

.month-section h4, p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.month-section h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: #555555;
  text-align: center;
}

.address-section {
  /*width:50%;*/
  padding: 0px 25px;
}

.address-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.address-section input,
.address-section textarea {
  width: 100%;
  padding: 8px;
  border: none;
border-bottom: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.address-section textarea {
  resize: none;
  height: 40px;
}
@media (max-width: 758px) {
  .address-section {
    width:100%;
  }
}



  /* Print Section *
  .print-section {
    display: none;
  }

  .print-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
  }

  .print-content img {
    height: 80px;
    border-radius: 5px;
  }

  .print-content h2,
  .print-content h3 {
    margin: 0;
  }

  /* Summary Section 
  .summary-section h3 {
    margin-bottom: 20px;
  }

  .summary-section .input-group {
    margin-bottom: 15px;
  }

  .summary-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .summary-section input {
    width: 100%;
    padding: 10px;
    border: none;
  border-bottom: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  /* Income Section */
  .income-section {
    margin-top: 20px;
  }

  .income-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  .income-section th,
  .income-section td {
    padding: 10px;
    text-align: left;
  }

  /*.income-section input {
    width: 100%;
    padding: 5px;
    border: none;
  border-bottom: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }*/

  .income-section .fa-trash {
    cursor: pointer;
  }

.symbol-amount{
display: flex;
  column-gap: 10px;
align-items:center;
}
.remove-icon {
cursor: pointer;
color: #e1e1e1;
font-size: 20px;
font-weight: 700;
display: inline-block;
transition: color 0.3s ease;
}

.remove-icon:hover {
color: #ff4444;
}

/* Optional: Add a tooltip for better UX */
.remove-icon::after {
content: "Delete";
visibility: hidden;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 4px;
padding: 4px 8px;
position: absolute;
z-index: 1;
bottom: 125%; /* Position above the icon */
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s ease;
font-size: 12px;
}

.remove-icon:hover::after {
visibility: visible;
opacity: 1;
}

.addmore {
  cursor: pointer;
  color: #555;
  text-decoration: none;
  position: relative;
  /*display: inline-block;*/
}
.addmore:hover {
  color: #00ac25;
}
.addmore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50%;
  height: 2px;
  background-color: #00ac25;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}
.addmore:hover::after {
  transform: scaleX(1);
}


  /* Net Pay Section */
  .net-pay-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
  }

  .net-pay-section h3 {
    margin: 0;
  }

  .net-pay-section p {
    margin: 0;
  }



  /* Notes Section */
  .notes-section {
    padding: 20px;
  }
  .notes-section label {
    font-weight: bold;
  }
  .notes-section textarea {
    width: 100%;
    padding: 10px;
    border: none;
  border-bottom: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    height: 100px;
  }
  .notes-section-preview {
    font-size: 12px;
    padding: 10px 20px;
  }

  /* Sign Section */
  .sign-section {
    margin-top: 20px;
  }

  .sign-section h3 {
    margin-bottom: 10px;
  }

  .sign-section input {
    width: 100%;
    padding: 8px;
    border: none;
  border-bottom: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .sign-section label {
    margin-left: 10px;
  }

/* ACTION BUTTONS, PRINT, RESET */  
  /* Action Buttons */
  .action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding: 0 10px;
}

.action-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    border: 2px solid transparent;
    white-space: nowrap;
}

.action-buttons button i {
    margin-right: 8px;
    font-size: 14px;
}

/* Specific primary button style for action-buttons only */
.action-buttons .btn-primary {
    background-color: #003984;
    color: white;
}

.action-buttons .btn-primary:hover {
    background-color: #00275b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Specific secondary button style for action-buttons only */
.action-buttons .btn-secondary {
    background-color: #f1f3f4;
    color: #3c4043;
    border-color: #dadce0;
}

.action-buttons .btn-secondary:hover {
    background-color: #e8eaed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Clear cache button - specific to this container */
.action-buttons .clear-cache {
    background-color: #f8e8e8;
    color: #d93025;
    border-color: #f4c2c2;
}

.action-buttons .clear-cache:hover {
    background-color: #f5d0d0;
}

/* Mobile responsiveness */
@media (max-width: 500px) {
    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-buttons button {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        white-space: normal;
    }
    
    .action-buttons button i {
        margin-right: 10px;
        font-size: 15px;
    }
}

/* Active state for these buttons only */
.action-buttons button:active {
    transform: translateY(1px);
}

/* Disabled state for these buttons */
.action-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* PRINT ACTION Buttons *
  @media print {
    body * {
      visibility: hidden;
    }
    .result, .result * {
      visibility: visible;
    }
    .result {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
    }
  }
/* ACTION BUTTONS, PRINT, RESET */    

/* Utility Classes */
  .text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
  }
  
  .d-none {
    display: none;
  }

  .text-right {
    text-align: right;
  }

  .text-primary {
    color: #007bff;
  }

  .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }

  .btn-warning {
    background-color: #924ced;
    color: #000;
  }

  .btn-primary {
    background-color: #007bff;
    color: #fff;
  }

  .btn-secondary {
    background-color: #6c757d;
    color: #fff;
  }

  .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
  }

  .fa {
    margin-right: 5px;
  }



/* Payslip generator INPUT SECTION*/
.payslip-container .input-section,
.payslip-container-preview .input-section {
  font-family: Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 20px;
}

.payslip-container .input-group, 
.payslip-container-preview .input-group{
  width: 100%;
}

.payslip-container a {
  font-size: 14px;
  color: #555555;
  text-decoration: none;
}
.payslip-container a:hover {
  color: #008444ff;
}

@media (min-width: 600px) {
  .payslip-container .input-group,
  .payslip-container-preview .input-group {
      width: 48%;
  }
}

.payslip-container .label-input-wrapper,
.payslip-container-preview .label-input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
/*Already Used in JS*/
/*#customFieldsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: -webkit-fill-available;
}*/

@media (min-width: 768px) {
  .payslip-container .label-input-wrapper,
  .payslip-container-preview .label-input-wrapper {
      flex-direction: row;
      align-items: center;
      gap: 10px;
  }
}
@media (max-width: 768px) {
.payslip-container .label-input-wrapper, 
.payslip-container-preview .label-input-wrapper {
  display: block;
}
}
/* Payslip generator INPUT SECTION*/

/* INPUT SECTION */
.input-section {
  font-family: Arial, sans-serif;
  /*max-width: 1200px;*/
  margin: 0 auto;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col-sm-12.col-lg-6 {
  flex: 1 1 45%;
  min-width: 300px;
}
/*
.input-group {
  margin-bottom: 10px;
}*/

.label-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}


label {
  font-weight: bold;
  color: #333;
  min-width: 120px; /* Fixed width for labels */
}

label, input, textarea {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

label:hover, input:hover, textarea:hover {
  transform: translateY(2px);
}

input[type="text"],
input[type="number"],
input[type="month"],
select {
  flex: 1;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="month"]:focus,
select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Calender Picker */
.date-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#payDate {
  flex: 1;
  padding-right: 30px;
}

.calendar-icon {
  position: absolute;
  right: 5px;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

#hiddenDatePicker {
  position: absolute;
  right: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
/* Calender Picker */

/* Responsive Styles */
@media (max-width: 768px) {
  .label-input-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  label {
    margin-bottom: 5px;
  }
}
/* INPUT SECTION */

/*============ MONEY SECTION ============*/
.finance-container,
.finance-container-preview {
  background-color: #fff;
}

.currency-section,
.currency-preview {
  padding: 0px 20px;
}

.finance-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.earning-section,
.deduction-section {
  width: 48%;
}

#earningsTable thead,
#deductionsTable thead,
.earning-section-preview thead,
.deduction-section-preview thead {
  background-color: #ebf3ff;
}

@media (max-width: 640px) {
  .money-section {
      flex-direction: column;
  }

  .earning-section,
  .deduction-section {
      width: 100%;
  }
}

.finance-section-preview {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.earning-section-preview,
.deduction-section-preview {
  width: 48%;
}
/*============ MONEY SECTION ============*/

.net-pay-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}
@media (max-width: 768px) {
.net-pay-section {
  display: block !important;
}
}

/*============ Signature Section ===========*/
.signature-section {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.signature-box {
  width: 45%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.signature-line {
  border: 1px solid #444;
  width: 80%;
  margin: auto;
  margin-top: 70px;
}

.signature-text {
  margin-bottom: 10px;
}

/*============ Signature Section ===========*/
/*================ PAYSLIP MAIN CONTAINER ================*/

/*================== TABLE ==================*/ 
  table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd; /* Add border around the table */
  }

  th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  /*tr:nth-child(even) {
    background-color: #ebf3ff;
  }*/
/*================== TABLE ==================*/ 

/*======= RELATED TOOLS  =======*/
.related {    
  color: #393b3a;
  text-align: left;
  width: 100%;
  border: 1px solid #2a5941;
  border-radius: 5px;
}

.relatedtitle {
  padding: 10px 15px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #2a5941;
}

.relatedlinks {
  display: flex;
  flex-wrap: wrap;
}

.relatedlinks a {
  display: block;
  width: 50%; /* Adjust this value to change the number of columns */
  padding: 10px 15px;
  color: #393b3a;
  border-bottom: 1px solid #2a5941;
  text-decoration: none;
}

.relatedlinks a:nth-child(odd) {
  border-right: 1px solid #2a5941; /* Add a border between columns */
}

.relatedlinks a:hover {
  color: #0004ff;
}
/*======= RELATED TOOLS  =======*/

/* =================== OTHER LINKS ==================== */ 
/*===== HOT LINKS =====*/
.hotlinks {
    clear: both;
    padding: 5px;
    color: #777;
    text-align: center;
}
.hotlinks a {
    text-decoration: none;
    padding: 9px;
	font-weight: 700;
    display: inline-block;
    color: #000;
    background: #ffc000;
    border-radius: 4px;
    margin: 5px;
	box-shadow: 0 8px 16px 0 rgb(255 217 150);
}
.hotlinks a:hover {
  background-color: #fc0303;
  box-shadow: 0 8px 16px 0 rgba(252, 114, 114);
  color: #fff;
}
/*===== HOT LINKS =====*/
/* =================== X LINKS ==================== */
.xtoolstitle {
  color: #1b0add;
  font-size: 20px;
  font-weight: 700;
  padding: 15px;
  margin-top: 20px;
}
.xlinks {
  text-align: center;
  margin: auto;
  max-width: 1000px;
}
.xlinks a {
  text-decoration: none;
  background-color: #503b9e;
  border: 1px solid #a9ecff;
  color: #fff;
  font-size: 14px;
  padding: 9px;
  display: inline-block;
  border-radius: 5px 15px;
  margin: 5px;
width: 150px;
  box-shadow: 0 8px 16px 0 rgb(26 45 112 / 70%);
}
.xlinks a:hover {
color: #fff;
background-color: #f25b5b;
border: 1px solid red;
box-shadow: 0 8px 16px 0 rgb(255 131 131);
}
/* =================== X LINKS ==================== */
/* =================== OTHER LINKS ==================== */ 

/* =================== SHARER =================== */
    .sharer {
	  display: inline-flex;
	  flex-wrap: wrap;
      margin: 5px;
	}
/*============= SHARER - SVG =============*/ 
	.share-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin: 5px;
    }
    
    .fa.fa-share-alt {
		margin-right: 5px;
		color: #00c57b;
	}
	
	.share-text {
		padding: 9px;
	}
    
    .share-button {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #fff;
      border-radius: 2px;
      transition: background-color 0.3s;
    }
    
    .share-button:hover {
      opacity: 0.8;
    }
    
    .share-button i {
      font-size: 14px;
    }
    
    /* Facebook */
    .share-button.facebook {
      background-color: #3b5998;
      padding: 10px;
    }
    
    /* Twitter */
    .share-button.twitter {
      background-color: #1da1f2;
	  padding: 10px;
    }
    
    /* LinkedIn */
    .share-button.linkedin {
      background-color: #0077b5;
	  padding: 10px;
    }
    
    /* Pinterest */
    .share-button.pinterest {
      background-color: #bd081c;
	  padding: 10px;
    }
    
    /* Instagram */
    .share-button.instagram {
      background-color: #e1306c;
	  padding: 10px;
    }
    
    /* Reddit */
    .share-button.reddit {
      background-color: #ff4500;
	  padding: 10px;
    }
    
    /* WhatsApp */
    .share-button.whatsapp {
      background-color: #25d366;
	  padding: 10px;
    }
    
    /* Telegram */
    .share-button.telegram {
      background-color: #0088cc;
	  padding: 10px;
    }
/*============= SHARER - SVG =============*/

/* ======== SHARER - FontAwesome ======== */
.share-button,
.svg-icon {
    display: inline-block; border-radius: 2px;
}

.share-icon {
    color: #fff;
    padding: 12px 0px;
    font-size: larger;
}

.share-text {
    padding: 12px 3px;
    padding-right: 10px;
}

.share-button {
    margin: 3px 3px;
    border-radius: 2px;
	cursor: pointer;
}

@media only screen and (max-width:500px) {}

.svg-icon svg {
    width: 1em;
    height: 1em;
    margin: 0
}

.svg-icon {
    fill: #fff;
    stroke: none;
    transition: 25ms ease-out;
}

.share-svg {
    fill: #00c57b;
}

.facebook-svg {
    padding: 9px;
    background-color: #3b5998
}

.facebook-svg:hover {
    background-color: #2d4373
}

.twitter-svg {
    padding: 9px;
    background-color: #55acee
}

.twitter-svg:hover {
    background-color: #2795e9
}

.reddit-svg {
    padding: 9px;
    background-color: #ff4500
}

.reddit-svg:hover {
    background-color: #d45324
}

.whatsapp-svg {
    padding: 9px;
    background-color: #25d366
}

.whatsapp-svg:hover {
    background-color: #1da851
}

.telegram-svg {
    padding: 9px;
    background-color: #1394d4
}

.telegram-svg:hover {
    background-color: #016293
}
/* COPY URL */
.link-svg {
    fill: blue;
    padding: 9px;
    border: 1px solid blue;
}

.link-svg:hover {
    fill: #008444ff;
    border: 1px solid #008444ff;
}

.tooltip {
    position: absolute;
    z-index: 1;
    visibility: hidden;
    padding: 10px;
    background-color: #3d0980;
    color: white;
    border-radius: 5px;
    font-size: 12px;
}
/* COPY URL */
/* ======== SHARER - FontAwesome ======== */
/* =================== SHARER =================== */

/*======= FOOTER  =======*/
.privacyNote {
	font-size: 14px;
	color: #003984;
	background-color: #d1eaff;
	padding: 10px;
	text-align:center; 
	margin-top: 10px;
	margin-bottom: 10px;
}

.info {
    font-family: sans-serif;
	text-align: justify;
    margin: 10px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 88%;
    box-shadow: 0 1px 9px 2px rgb(1 1 1 / 9%);
}

.footer {
  padding: 20px;
  text-align: center;
  background: #003984;
  margin-top: 20px;
  color: #fff
}
.footer a {
	color: #45ffb8;
	text-decoration: none;
}
.footer a:hover {
	color: #ff9f9f;
}
/*======= FOOTER  =======*/

#scrolltop {
	display: none;
	position: fixed;
	bottom: 17%;
	right: 15px;
	font-size: 18px;
	background-color: #1d7fff77;
	color: #fff;
	cursor: pointer;
	padding: 10px;
	border-radius: 5px
}

#scrolltop:hover {
	background-color: #003984;
	border: 2px solid #fff
}

/* ================== COPY MESSAGE ================== */
#copymsg {
  visibility: hidden;
  min-width: 250px;
  margin-top: -50px;
  background: linear-gradient(45deg,#008444ff,#ff0063);
  box-shadow: 0 2px 4px -1px #5494f4, 0 4px 5px 0 rgb(111 111 111 / 14%), 0 1px 10px 0 rgb(133 133 133 / 12%);
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 30px;
  font-size: 17px;
}

#copymsg.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {left: 0; opacity: 0;} 
  to {left: 30px; opacity: 1;}
}

@keyframes fadein {
  from {left: 0; opacity: 0;}
  to {left: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {left: 30px; opacity: 1;} 
  to {left: 0; opacity: 0;}
}

@keyframes fadeout {
  from {left: 30px; opacity: 1;}
  to {left: 0; opacity: 0;}
}
/* ================== COPY MESSAGE ================== */

@media only screen and (max-width:800px) {
	.navigation {
    /*padding-bottom: 25px;*/
	}
	
	.logo {
	margin-left: 20px;
	background-size: 180px auto;
	}
	
	.leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
    }

	.column-2, .column-3, .column-4 {
    width: 100%;
    display: block;
    margin-bottom: 20px;
	}
	
	.inner-card-container {
        flex-direction: column;
    }
	
	.inner-card {
        width: 100%;
        margin-bottom: 10px;
    }
	
	.mytools {
    width: 100%;
	}
}
	
@media only screen and (min-width:800px) {
	.site-title a {
		margin-left: 50px;
	}

	.menu span {
		display: none
	}

	.menu-links a {
		display: inline-block;
		color: #ffffff
	}

	.menu-links a:hover {
		color: #66bffa
	}

	.menu-links {
		display: inline-block;
	}
	
	.main-container {
	max-width: 70%;
	}

	.info {
    width: 70%;
	}

	.fancytext {
	width: 90%
	}

	input {
	font-size: 16px
	}

}