@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
}

header {
    background-color: #fc6d27;
    padding: 20px 40px;
}

header h1 {
    color: #F5F5F5;
    font-family: 'Roboto', sans-serif;
    font-size: 1.9rem;
}

main {
    padding: 20px 40px;
}

main h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #212121;
}

main p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #212121;
}

#autherror {
    background: #ff8b8b;
    color: #ffffff;
    width: 400px;
    height: 300px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #fc7b7b;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    margin: auto;
}

#autherror p {
    color: #ffffff;
}


#selector {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

#selector #initial-inputs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    row-gap: 20px;
}

#selector label {
    display: flex;
    flex-direction: column;
    width: 300px;
}

#selector input {
    padding: 10px 5px;
    height: 45px;
    border-radius: 10px;
    font-size: 15px;
    color: #212121;
    border: 1px solid #616161;
}

#selector input:focus {
    outline: none;
}




#selector label span {
    font-weight: 400;
    margin-bottom: 5px;
}

#cboendpoints label span {
    font-weight: 400;
}

#cboendpoints select {
    padding: 10px 0px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #212121;  
    height: 45px;
}

#ceboendpoints select:focus {
    outline: none;
}

#cboendpoints select option {
    padding: 20px 10px;
}


#endpoint {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#endpoint #labels {
    display: flex;
    flex-wrap: wrap;
    gap: 150px;
    row-gap: 20px;
    margin-top: 10px;
}


#endpoint label {
    display: flex;
    flex-direction: column;
    width: 200px;
}

#endpoint label span {
    font-weight: 400;
    margin-bottom: 5px;
}

#endpoint input {
    padding: 10px 5px;
    height: 45px;
    width: 270px;
    border-radius: 10px;
    font-size: 15px;
    color: #212121;
    border: 1px solid #616161;
}

#endpoint input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 10px;
}

#endpoint input:focus {
    outline: none;
}

#endpoint select {
    padding: 10px 5px;
    height: 45px;
    width: 250px;
    border-radius: 10px;
    font-size: 15px;
    color: #212121;
}

#endpoint select:focus {
    outline: none;
}

#endpoint select[multiple] {
    padding: 10px 5px;
    height: 100px;
    width: 250px;
    font-size: 15px;
    border-radius: 10px;
    color: #212121;
    border: 1px solid #BDBDBD;
}

#endpoint button {
    width:250px;
    height: 45px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    background-color: #fca326;
    color: #F5F5F5;
    border: none;
    border-radius: 10px;
}

#endpoint button:hover {
    cursor: pointer;
    background-color: #f7af4a;
}

#endpoint #errors {
    color: red;
    font-size: 20px;
}

#endpoint table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.9em;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#endpoint table thead {
    background-color: #fc6d27;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

#endpoint table th {
    padding: 20px 15px;
}

#endpoint table td {
    padding: 12px 15px;
}

#endpoint table tbody tr {
    border-bottom: 1px solid #dddddd;
}

#endpoint table tbody tr:nth-of-type(even) {
    background-color: #f3f1ef;
}

#endpoint table tbody tr:last-of-type {
    border-bottom: 2px solid #e2432a;
}

#endpoint table tbody input {
    width: 150px;
}


#endpoint #issue-filters {
    display: flex;
    flex-wrap: wrap;       
    gap: 30px;             
    row-gap: 20px;         
    margin-top: 20px;
    align-items: flex-start;
}

#endpoint #issue-filters label {
    display: flex;
    flex-direction: column;
    width: 260px;        
}

#endpoint #issue-filters label > span {
    margin-bottom: 5px;
}


#project-filters {
    display: flex;
    flex-wrap: wrap;       
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0 10px;
}

#project-filters label {
    width: 260px;          
}



.issues-filters-main-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;       
    column-gap: 40px;     
    row-gap: 20px;        
    margin-top: 15px;
    margin-bottom: 10px; 
}


.issues-filters-main-row .issues-filter-field {
    display: flex;
    flex-direction: column;
    flex: 1 1 230px;       
    max-width: 280px;      
}

.issues-filters-main-row .issues-filter-field span {
    font-weight: 400;
    margin-bottom: 5px;
}

.issues-filters-main-row input,
.issues-filters-main-row select {
    padding: 10px 5px;
    height: 45px;
    border-radius: 10px;
    font-size: 15px;
    color: #212121;
    border: 1px solid #616161;
}

.issues-filters-main-row input:focus,
.issues-filters-main-row select:focus {
    outline: none;
}


.issues-filters-advanced-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;       
    column-gap: 40px;      
    row-gap: 20px;        
    margin-top: 10px;
    margin-bottom: 10px;
}

.issues-filters-advanced-row .issues-advanced-field {
    display: flex;
    flex-direction: column;
    flex: 1 1 260px;      
    max-width: 320px;      
}

.issues-filters-advanced-row .issues-advanced-field span {
    font-weight: 400;
    margin-bottom: 5px;
}


.issues-filters-advanced-row select {
    padding: 10px 5px;
    border-radius: 10px;
    font-size: 15px;
    color: #212121;
    border: 1px solid #616161;
}

.issues-filters-advanced-row select:focus {
    outline: none;
}

#pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#pagination button {
    width: fit-content;
    height: fit-content;
    text-align: center;
    padding: 4px 10px;
    margin: 0 5px;
}