@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* GENERAL STYLING */
body {
    width: 95%;
    margin: 30px auto;
    box-sizing: border-box;
    font-family: 'Open Sans';
    background-color: #e8eaed;
}

.main-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 15px 25px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #dadce0; 
    border-radius: 4px; 
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

p {
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #222222;
}

h1 {
    margin: 0px;
    font-weight: 900;
    color: #3a3a3a;
}

h2 {
    margin-top: 0px;
    font-size: 20px;
    font-weight: 900;
    color: #3a3a3a;
    margin-bottom: 20px;
}

h3 {
    margin-top: 0px;
    font-weight: 900;
    color: #3a3a3a;
    margin-bottom: 20px;
}

.hidden-tab {
    display: none;
}

.no-margin {
    margin-bottom: 0px;
}

/* HEADER CONTAINER */
.title-and-translate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

/* RESET CONTAINER */
.reset-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
}

.reset-container .submit-button {
    background-color: #DB4437;
    color: white;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
    margin: 0px;
}

.reset-container .submit-button:hover {
    background-color: #993128;
}

/* RADIO CONTAINER */
.radio-button-container {
    display: flex;
    flex-wrap: none;
    justify-content: flex-start;
    align-items: flex-start;
    user-select: none;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px 15px;
}

.radio-button-container input {
    margin: 0px;
    flex-basis: 13px;
    cursor: pointer;
    transform: translateY(5px) scale(1.5);
    accent-color: #222222;
}

.radio-button-container label {
    flex-basis: 90%;
    cursor: pointer;
}

.radio-button-container label p:nth-child(1) {
    font-weight: 600;
    margin-bottom: 2px;
}

.radio-button-container label p:nth-child(2) {
    margin: 0px;
}

/* SUBMIT BUTTON */
.clipboard-button-container {
    position: relative;
}

.submit-button {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    width: max-content;
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
}

.submit-button:active {
    background-color: #b8b8b8;
}

/* ERROR CONTAINER */
.error-container {
    background-color: #DB4437;
    border-radius: 5px;
    padding: 0 30%;
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.error-padding {
    padding: 10px 30px;
}

.error-container p {
    margin: 0px;
    color: white;
}

/* TEXT INPUT */
.input-container {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 20px;
}

.text-input {
    padding: 10px 20px;
    width: 100%;
    box-sizing: inherit;
    font-family: 'Open Sans';
    font-size: 16px;
    border-radius: 10px;
    border: 4px solid #b4b4b4;
}

.text-input:focus {
    outline: none;
}

select:not(.goog-te-combo) {
    padding: 10px 20px;
    width: 100%;
    box-sizing: inherit;
    font-family: 'Open Sans';
    font-size: 16px;
    border-radius: 10px;
    border: 4px solid #b4b4b4
}

input[type=checkbox] {
    transform: scale(1.5);
    border: 4px solid #b4b4b4;
}

/* FILTER CONTROLS */
.filter-controls {
    margin-bottom: 20px;
}

/* COMPLETED FILTER CONTAINER */
.filter-string-container {
    margin-bottom: 30px;
    padding: 20px 30px;
    border: 4px solid #F4B400;
    border-radius: 10px;
    margin-bottom: 48px;
}

.filter-string-container .submit-button {
    background-color: #F4B400;
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
}

.filter-string-container .submit-button:hover {
    background-color: #dda200;
}

.filter-output {
    margin-bottom: 20px;
}

.clipboard-message,
.filter-updated-message-container {
    background-color: #F4B400;
    border-radius: 5px;
    padding: 10px 25px;
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: max-content;
}

.clipboard-message p,
.filter-updated-message-container p {
    margin: 0px;
    color: #3a3a3a;
    font-weight: 600;
    text-align: center;
}

/* FIRST STEP */
.first-select-filter-tab {
    padding: 20px 30px;
    border: 4px solid #4285F4;
    border-radius: 10px;
    margin-bottom: 48px;
}

.first-select-filter-tab .submit-button {
    background-color: #4285F4;
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
    color: white;
}

.first-select-filter-tab .submit-button:hover {
    background-color: #366cc4;
}

.first-select-filter-tab .radio-button-container:nth-child(1) {
    border: 4px solid #706993;
    background-color: rgba(112, 105, 147, 10%);
    border-radius: 10px;
}

.first-select-filter-tab .radio-button-container:nth-child(2) {
    border: 4px solid rgb(194, 232, 18);
    border-radius: 10px;
    background-color: rgba(194, 232, 18, 10%);
}

.first-select-filter-tab .radio-button-container:nth-child(3) {
    border: 4px solid rgb(27, 153, 139);
    border-radius: 10px;
    background-color: rgba(27, 153, 139, 10%);
}

.first-select-filter-tab .radio-button-container:nth-child(4) {
    border: 4px solid rgb(236, 176, 225);
    border-radius: 10px;
    background-color: rgba(236, 176, 225, 10%);
}

/* SINGLE FILTER */
.single-filter-tab {
    padding: 20px 30px;
    border: 4px solid #706993;
    border-radius: 10px;
    margin-bottom: 48px;
}

.singler-filter-tab-dimension-or-metric .radio-button-container {
    border: 4px solid #706993;
    border-radius: 10px;
    background-color: rgba(112, 105, 147, 10%);
}

.single-filter-tab .submit-button {
    background-color: #706993;
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
    color: white;
}

.single-filter-tab .submit-button:hover {
    background-color: #706993;
}

.single-filter-controls {
    background-color: rgba(112, 105, 147, 10%);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* AND FILTER */
.and-filter-tab {
    padding: 20px 30px;
    border: 4px solid rgb(194, 232, 18);
    border-radius: 10px;
    margin-bottom: 48px;
}

.and-filter-tab-dimension-or-metric .radio-button-container, .and-filter-type-container .radio-button-container {
    border: 4px solid rgb(194, 232, 18);
    border-radius: 10px;
    background-color: rgba(194, 232, 18, 10%);
}

.and-filter-tab .submit-button {
    background-color: rgb(194, 232, 18);
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
}

.and-filter-tab .submit-button:hover {
    background-color: rgb(176, 212, 16);
}

.and-filter-controls {
    background-color: rgba(194, 232, 18, 10%);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* OR FILTER */
.or-filter-tab {
    padding: 20px 30px;
    border: 4px solid rgb(27, 153, 139);
    border-radius: 10px;
    margin-bottom: 48px;
}

.or-filter-tab-dimension-or-metric .radio-button-container, .or-filter-type-container .radio-button-container {
    border: 4px solid rgb(27, 153, 139);
    border-radius: 10px;
    background-color: rgba(27, 153, 139, 10%);
}

.or-filter-tab .submit-button {
    background-color: rgb(27, 153, 139);
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
    color: white;
}

.or-filter-tab .submit-button:hover {
    background-color: rgb(27, 153, 139);
}

.or-filter-controls {
    background-color: rgba(27, 153, 139, 10%);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* NOT FILTER */
.not-filter-tab {
    padding: 20px 30px;
    border: 4px solid rgb(236, 176, 225);
    border-radius: 10px;
    margin-bottom: 48px;
}

.not-filter-tab-dimension-or-metric .radio-button-container, .not-filter-type-container .radio-button-container {
    border: 4px solid rgb(236, 176, 225);
    border-radius: 10px;
    background-color: rgba(236, 176, 225, 10%);
}

.not-filter-tab .submit-button {
    background-color: rgb(236, 176, 225);
    color: #3a3a3a;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.2s;
}

.not-filter-tab .submit-button:hover {
    background-color: rgb(236, 176, 225);
}

.not-filter-controls {
    background-color: rgba(236, 176, 225, 10%);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

@media only screen and (max-width: 768px) {
    .title-and-translate {
        flex-direction: column;
        gap: 20px;
    }

    .filter-updated-message-container {
        max-width: 250px;
    }
}