/* Fonts */
/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

button#reset-button {
  margin-left: 5px;
}

select#reference-style {
    width: 250px;
}

a {
    color: #47307e;
}

b {
    font-weight: 900;
}


select#reference-style-dropdown {
    width: 250px;
}

li.use-faqs {
    position: relative;
    top: 4px;
}


.popup {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: hsl(256 44% 84% / 1);
    padding: 15px 19px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s opacity;
}

.popup.show {
  opacity: 100;
  pointer-events: auto;
}


p.line-summary {
    margin-top: 10px;
    line-height: 1.3;
}



/* Apply Roboto font */
body {
    padding: 25px 40px;
    font-family: 'Roboto', sans-serif;
}

h1, h2 {
  font-family: 'Roboto', sans-serif;
}

img#copyicon {
    position: relative;
    top: 5px;
}

span#copyicon-text {
    font-weight: 600;
    margin-left: 5px;
}

select {
    font-family: 'Roboto';
    font-size: 14px;
    margin-left: 5px;
}

.gen-prompt {
    margin-top: 7px;
}

/* Set font weights */
body {
  font-weight: 400;
}

h1 {
  font-weight: 900;
  color: #47307E;
  font-size: 44px;
}

h2 {
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 15px;
}

/* Rest of styles */

img.forchatgpt {
    position: relative;
    top: 5px;
    margin-right: 7px;
}

h3.sub-text {
    margin-top: -2px;
    font-size: 28px !important;
    /* position: relative; */
    /* top: 10px; */
}

h2.sub-text {
    
    font-size: 28px !important;
    /* position: relative; */
    /* top: 10px; */
}

textarea {
  font-family: 'Roboto';
}

/* Textareas */
#user-prompt, #generated-prompt {
    width: 100%;
    height: 75px;
    padding: 10px;
    box-sizing: border-box;
    border: 3px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
}

/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 19px;
}

.prompts {
    margin-top: 25px;
}

a#reset-all {
    margin-left: 15px;
    margin-right: 15px;
}

textarea#generated-prompt {
    height: 250px;
    background: #ededed;
}
input[type="checkbox"] {    
      border: 2px solid grey;
      border-radius: 0;
    }


input[type="checkbox"]:checked {
      background-color: grey;
    }

.selectall-resetall {
    padding: 10px;
    background-color: hsl(258 45% 95% / 1);
    font-weight: 600;
    display: inline-block;
    /* margin-top: 25px; */
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 3px;
}


/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 23px;
    cursor: pointer;
    font-size: 21px;
    user-select: none;
}

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

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: -5px;
    left: 0;
    height: 12px;
    width: 12px;
    background-color: #fff;
    border: 2px solid #a8a8a8;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a green checkmark */
.checkbox-container input:checked ~ .checkmark:after {
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #47307e;
    border-width: 0 2px 2px 0;
}


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

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

footer {
    margin-top: 35px;
}









.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.line li {
    float: left;
}

.generated-prompt-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-2 label {
display: inline-block;
}

.prompt-2 #copy-link {
display: inline-block;
margin-left: 10px;
}





/* Buttons */
button {
    padding: 10px 20px;
    background: #47307e;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

button:hover {
    background: hsl(258 45% 42% / 1);
}
.header i {
  color: grey;
}

.copytoclipboard-and-reset-buttons {
    margin-top: 10px;
}

.prompt-2 {
    margin-top: 15px;
}


/* Options */
.option {
  /*display: flex;*/
  align-items: flex-start;
  margin-bottom: 20px;
}

.option ul {
    margin-top: 0;
    /* padding-left: 20px; */
}

.option li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    margin-right: 12px;
}

div#options {
    margin-top: 15px;
}


.option li input[type="checkbox"] {
  margin-right: 10px;
}

p.summary {
    color: #414040;
    font-size: 19px;
    line-height: 1.2;
    margin-top: 25px;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  #user-prompt,
  #generated-prompt {
    height: 100px;
  }
}
