* {
    /* padding: 2px;
  margin: 2px; */
    font-family: 'Josefin Sans', sans-serif;
    /* box-sizing: border-box;
  scroll-behavior: smooth; */
}

body {
    height: 100vh;
    /* background-image: 
    linear-gradient(
      45deg,
      rgba(237, 237, 237, 0.882),
      rgba(255, 235, 211, 0.819)
    ),
    url('https://w0.peakpx.com/wallpaper/338/1021/HD-wallpaper-white-crumpled-paper-texture-white-paper-background-paper-texture-paper.jpg');
    background-repeat: no-repeat;
    background-size: cover; */
    /* background-color: rgb(244, 244, 244); */
    overflow: scroll;
    overflow-x: hidden;
}

.top-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    padding: 10px 35px;
    margin-top: -1.2%;
    border-radius: 5px;
}

.connect-button {
    background-color: white;
    border-radius: 5px;
    box-shadow: #dae4ff 0px 4px 0px 0px;
    padding: 15px 10px;
    background-repeat: no-repeat;
    /* box-sizing: border-box; */
    width: 150px;
    height: 40px;
    color: #000;
    border: none;
    font-size: 15px;
    transition: all .3s ease-in-out;
    z-index: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    outline: none;
    cursor: pointer;
    margin-left: 30px;
}


.connect-button::before {
    content: "";
    background-color: #2ebcae;
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 700ms ease-in-out;
    display: inline-block;
}

.connect-button:hover::before {
    width: 100%;
}

.logo-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.logo-center img {
    width: 14%;
    margin-left: 100px;
}


.header {
    color: rgb(255, 255, 255);
    background-color: #2ebcae;
    text-align: center;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    margin-top: 8px;
}

.header h1 {
    font-size: 2rem;


}

.form-section {
    width: 100%;

}

.all-box h3 {
    font-size: 1.3em;
    text-align: center;
    color: rgba(0, 0, 0, 0.712);

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* background-color: #c7c8ca; */

}

.all-box {
    width: 100%;
    height: auto;
    margin-top: 1%;
    border: 1px solid black;
    display: flex;
    flex-direction: row;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

#textarea-content {
    width: 95%;
    height: 30vh;
    font-size: 1.1em;
    display: flex;
    padding: 10px;
    margin-left: 5px;
    border: 1px solid #c7c8ca;
    border-radius: 5px;
    line-height: 30px;
    resize: none;

}

.upload-btn {
    display: flex;
    align-items: center;
    cursor: pointer;

}

.upload-btn i {
    margin-right: 8px;
    color: black;
}

/* Hide the default input file style */
input[type="file"] {
    display: none;
}

.take-input {
    display: flex;
    text-align: right;
    justify-content: space-between;
    padding: 10px;
}

.submit-btn {
    background-color: #2db8ae;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
}

.submit-btn:hover {
    background-color: #45d4c6;
}
.submit-btn:disabled{
    background-color:lightgray;
    cursor: not-allowed;
}
.summ-section {
    width: 100%;
    height: 30vh;
}

#sum-text {
    width: 95%;
    height: 30vh;
    font-size: 1.1em;
    display: flex;
    padding: 10px;
    margin-left: 5px;
    border: 1px solid #c7c8ca;
    border-radius: 5px;
    line-height: 30px;
    resize: none;

}

.title-sentiment {
    display: flex;
}

.title-op {
    display: flex;
    flex-direction: column;
    margin-left: 2%;
    margin-bottom: 10%;
    width: 70%;

}

.title-op p {
    font-size: 1.1em;
    font-weight: bold;
    width: 20%;
    margin-left: 25%;
    text-align: center;
    background-color: #ffffff;
    /* border: 2.5px solid rgb(0, 0, 0) */
}

#title-text {
    height: 8vh;
    font-size: 1.2em;
    display: flex;
    width: 90%;
    border-radius: 5px;
    /* background-color: rgb(221, 235, 233); */
    /* border: 2.5px solid rgb(217, 169, 169); */
}

#sentiment-text {
    height: 4vh;
    font-size: 1.1em;
    display: flex;
    width: 90%;
    margin-top: -20px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.sentiment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sentiment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sentiment p {
    font-weight: bold;
    text-align: center;
    width: 15vh;
    background-color: #ffffff;
    gap: 10px;
    margin-bottom: 20px;
}

.sentiment span {
    font-size: 2em;
    font-weight: 900;
}

/* pos-ner buttons */
.buttons {
    display: flex;
    justify-content: space-between;
}

.submit-btn1 {
    background-color: #2db8ae;
    /* Green */
    border: 1px solid white;
    border-radius: 5px;
    width: 48%;
    color: white;
    padding: 15px 32px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0.5%;
    margin-left: 1%;

    font-size: 16px;
    cursor: pointer;
}


.pos-ner {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.pos-ner h2 {
    text-align: center;
}

#pos {
    width: 100%;
    height: 30vh;
    text-align: center;
    display: none;
}

#ner {
    width: 100%;
    height: 30vh;
    text-align: center;
    display: none;

}

.render-pos {
    justify-content: center;
    border: 1.5px solid grey;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    display: flex;
    margin-left: 2%;
    width: 95%;
    margin-bottom: 1%;
    line-height: 30px;
}

.render-ner {
    justify-content: center;
    border: 1.5px solid grey;
    background-color: rgb(255, 255, 255);
    display: flex;
    margin-left: 2%;
    width: 95%;
    margin-bottom: 2%;
}

.pos-ner h2 {
    width: 50%;
    margin-left: 25%;
    background-color: #ffffff;
    border: 1.5px solid rgb(0, 0, 0);
    border-radius: 5px;
}

.status[data-status='positive']:after {
    content: 'POSITIVE';
    color: rgb(244, 244, 244);
    background-color: rgb(42, 138, 40);
    width: 15vh;


}

.status[data-status='negative']:after {
    content: 'NEGATIVE';
    color: rgb(255, 255, 255);
    background-color: rgb(187, 21, 21);
    width: 15vh;

}

.status[data-status='neutral']:after {
    content: 'NEUTRAL';
    color: rgb(255, 255, 255);
    background-color: rgb(229, 180, 21);
    width: 15vh;
    text-align: center;
    display: flex;
    justify-content: center;

}

.status[data-status='']:after {
    content: '';
    color: rgb(0, 0, 0);
    background-color: rgb(213, 233, 247);
    width: 15vh;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* popup form styles */
/* Popup container styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    overflow-y: auto;
    font-family: Merriweather Sans;

}

/* Popup content styles */
.popup-content {
    background-color: #fff;
    margin: 1% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 850px;
}

.close {
    position: relative;
    top: -10px;
    left: 820px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    font-size: 30px;
}

.close:hover {
    color: #000;
}

/* Form styles (you can customize these further) */
#contactForm {
    display: grid;
    gap: 15px;
    margin-left: 50px;
    margin-top: 20px;
}

.flex {
    display: flex;
    width: 93%;
    gap: 30px;
}

#input-text,
input[type="email"] {
    width: 90%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
}

#input-text,
input[type="email"]:focus {
    outline: none;
}

input::placeholder {
    /* color: #04AA6D;  */
}

label {
    font-size: 12px;
}

select {
    height: 40px;
}

option {
    border-radius: 0px;
}

.message {
    resize: none;
    height: 100px;
    overflow-y: auto;
    width: 91%;
    padding: 5px;
    border-radius: 5px;
}

.message:focus {
    outline: none;
}

.form-submit-button {
    background-color: #000;
    color: #fff;
    padding: 10px 11px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 90%;
}

.form-submit-button:hover {
    background-color: rgb(37, 36, 36);
}

.container {
    display: block;
    position: relative;
    padding-left: 28px;
    padding-right: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container a {
    text-decoration: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

.container:hover input~.checkmark {
    background-color: #ccc;
}

.container input:checked~.checkmark {
    background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked~.checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 7px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.scribble {
    margin-top: -12px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 5px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f0f0f0;
    border-radius: 5px;
}

footer a {
    text-decoration: none;
    color: rgb(4, 79, 253);

}

.policy {
    flex-grow: 1;
    /* Expands to take available space */
    margin-right: 10px;
    margin-top: 1rem;
    line-height: 1.4rem;
    font-size: 15px;
}

.copyright {
    flex-shrink: 0;
    margin-top: 1rem;
    font-weight: 600;

}

#openFooterPopup {
    border: none;
    background-color: transparent;
    font-weight: 600;
    color: rgb(4, 79, 253);
    cursor: pointer;
}