/* Import Google Font */
@import url(https://fonts.googleapis.com/css?family=Nunito+Sans);

/* RESET */
* {
  padding: 0;
  margin: 0;
  font-size: 1em;
  box-sizing: border-box;
  font-family: 'Nunito Sans'; /* Updated to use Nunito Sans */
  color: hsl(0, 0%, 50%);
}


/* Containing areas */
.container { 
  width: 600px; 
  margin: 1em auto;
}
.ta-container {
  width: 100%;
  border: 1px solid hsl(0, 0%, 70%);
  border-radius: 0.25em;
  margin: 0.25em 0 1.5em;
}
.hasfocus {
  box-shadow: 0px 0px 6px hsl(210, 50%, 60%);
}

/* The textarea itself */
textarea { 
  padding: 0.25em;
  width: 100%;
  max-width: 100%;
  border: none;
  vertical-align:bottom;
  color: hsl(0, 0%, 50%);
  border-radius: 0.25em;
  outline: none;
}

/* The status bar */ 
.status-bar { 
  background: hsl(0, 0%, 90%);
  padding: 0.25em;
  text-align: right;
  font-family: sans-serif;
  font-size: 0.7em;
  width: 100%;
  color: hsl(0, 0%, 50%);
  border-radius: 0 0 0.25em 0.25em;
}
table { 
  width: auto;
  margin-left: auto;
  line-height: 1em;
}
.charcount, .remaining { 
  font-weight: bold;
}
.over {
  color: hsl(0, 80%, 60%);
}
/* The submit button */
#submitbtn {
  padding: 1.0em 1.2em; /* Doubled the vertical padding from 0.4em to 0.8em */
  background: #a1bac3;
  border: 1px solid hsl(0, 0%, 60%);
  color: #3C4548;
  border-radius: 0.25em;
  width: min(20rem, 90vw);


}
#submitbtn:enabled:hover {
	    background: #e7edf0;

}
#submitbtn:enabled:active {
  background: #7297a5;
  color: hsl(0, 0%, 90%)
}
#submitbtn:disabled { 
  border: 1px solid hsl(0, 0%, 90%);
  color: hsl(0, 0%, 90%);
}


:root {
    --background: linear-gradient(30deg, #f39c12 30%, #f1c40f);
    --background-select: linear-gradient(to left, #a1bac3 3rem, #7297a5 3rem);
}

/* Reset <select> defaults */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    outline: 0;
    background: none;
    color: inherit;
    box-shadow: none;
    width: 100%; /* Full width of the parent */
    
}

select::-ms-expand {
    display: none;
}

/* Custom Select wrapper */
.select {
    position: relative;
    display: flex;
    width: min(20rem, 90vw);
    background: var(--background-select);
    border-radius: 0.25rem;
    overflow: hidden;
       margin: 0 auto; /* Add this to center the dropdown horizontally */
    text-align: center; /* Add this to center the text within the dropdown */
    display: flex; /* Add this to horizontally center the dropdown */
    flex-direction: column; /* Add this to vertically center the dropdown */
    align-items: center; /* Add this to horizontally center the dropdown */
}

.select select {
    flex: 1;
    padding: 1em;
    cursor: pointer;
    color: white !important; /* Add !important to force white text color */
}

/* Arrow style */
.select::after {
    content: "\25BC";
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: 0.25s all ease;
    pointer-events: none; /* IMPORTANT to click on arrow */
}

/* Arrow hover */
.select:hover::after {
    color: #7297a5;
    animation: bounce 0.5s infinite;
}

@keyframes bounce {
    25% {
        transform: translatey(5px);
    }
    75% {
        transform: translatey(-5px);
    }
}

body {
    height: 100vh;
    display: grid;
    font-family: Roboto;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
        background-color: #d0dce1;

}

*, *::before, *::after {
    box-sizing: border-box;
}

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 280px;
    border-radius: 3px;
    overflow: hidden;
}

.inp .label {
    position: absolute;
    top: 50%;
    left: 12px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    transform-origin: 0 0;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
}

.inp .focus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
}

.inp input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    padding: 16px 12px;
    height: 56px;
    font-size: 16px;
    font-weight: 400;
    background: transparent; /* Updated to make the background transparent */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    color: #000;
    transition: all 0.15s ease;
}

.inp input:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.inp input:focus + .label,
.inp input:not(:placeholder-shown) + .label {
    color: #145369;
    transform: translateY(-100%) scale(0.75);
}

.inp input:focus {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
    box-shadow: inset 0 -2px 0 #145369;
}

    .center-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
.no-copy {
    pointer-events: none;
    cursor: default;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}



.heart-icon {
    display: inline-block;
    vertical-align: middle; /* Aligns the heart icon with the text */
}

.footer-message {
    text-align: center;
}

.disclaimer-table {

    border-collapse: collapse;
    background-color: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 50%;          /* Reduces the table's width to half */
    margin: 0 auto;      /* Centers the table horizontally */
	    

}

.table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;  /* Centers the table in the container */
}


.disclaimer-table th, .disclaimer-table td {
    padding-bottom: 1.5em;
	
}




.linkstyle {
  color: #7393B3;
  background-color: #dee7ea; /* Setting the background color to white */
  padding: 10px; 
    border-radius: 5px;  /* This gives a subtle rounded edge */

}
