/* public/style.css */

body {
    font-family: sans-serif;
    background: linear-gradient(90deg, #304c53, #6d3e50);
    color: #fff;
    margin: 0;
    padding: 1rem 2rem;
    min-width: 480px;
}

header {
    background: rgba(27, 27, 27, 0.9);
    backdrop-filter: blur(8px);
    color: rgb(255, 255, 255);
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 8px;
}

.divcenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.divflex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.divflex-item {
    min-width: 120px;
}

.headerdiv {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cronhub-logo-main {
    height: 96px;
    padding: 8px 0;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.filters {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

label {
    display: flex;
    gap: 0.5rem;
    font-weight: bold;
    color: #ddd;
}

.secondary-label {
    font-size: smaller;
    color: #808080;
}

button {
    background: #1a2930;
    color: #fff;
    border: 1px solid #568b8b;
    cursor: pointer;
    border-radius: 16px;
    box-shadow: #1b1b1b 0px 0px 10px;
}

button:hover {
    background: #298b8b;
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #000;
    border-radius: 8px;
    box-shadow: #1b1b1b 0px 0px 10px;
}

tr {
    padding: 0.2rem;
}

th {
    background: #1b1b1b;
    color: #495758;
    padding: 0.75rem;
    text-align: left;
}

td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #808080;
    background: #292929;
    color: #ddd;
    max-width: 25vw;
    overflow: hidden;
}

select {
    padding: 0.4rem;
    border-radius: 8px;
    margin-top: 0.2rem;
    border: 1px solid #ddd;
    background-color: #fff;
}

input {
    font-size: 1rem;
    padding: 0.5rem;
    margin: 0.5rem 0;
    margin-bottom: 1rem;
}

.input-text {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.input-textarea {
    margin-top: 0.4rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 180px;
}

.disabled {
    color: #269ca5;
    background-color: #292929;
}

.shadow {
    box-shadow: #1b1b1b 0px 0px 10px;
}

hr {
    border: 0;
    height: 1px;
    background: #04a8b1;
    margin: 1rem 0;
}

.card {
    width: 50vw;
    min-width: 320px;
    background-color: rgba(27, 27, 27, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4rem;
    border-radius: 16px;
    margin: 2rem;
    box-shadow: #1b1b1b 0px 0px 10px;
}

.blank10 {
    width: 100%;
    height: 10px;
}

.blank50 {
    width: 100%;
    height: 50px;
}

.displayname {
    color: #cc6b88;
    padding-right: 2rem;
}

.status {
    font-size: 0.7rem;
}

.statusEnabled {
    color: #35a73b;
    font-weight: bold;
}

.statusDisabled {
    color: #b32940;
    font-weight: bold;
}

.bigButton {
    font-size: 1rem;
    padding: 1rem 3rem;
}

.smallButton {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.saveButton {
    color: #04a8b1;
    border: #04a8b1 solid 1px;
    cursor: pointer;
    margin-top: 1rem;
}

.saveButton:hover {
    color: #000;
    background-color: #04a8b1;
}

.cancelButton {
    border: none;
    background: #292929;
}

.backButton {
    border: none;
    height: 2.5rem;
}

.deleteButton {
    color: #df2f47;
    border: #df2f47 solid 1px;
    margin-top: 1rem;
}

.deleteButton:hover {
    background: #df2f47;
    color: #fff;
}

.selector-edit {
    min-width: 60px;
    width: 7rem;
    padding: 0.5rem;
    margin-top: 0.55rem;
    margin-bottom: 1rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.clickable {
    cursor: pointer;
}

.readonly-textarea {
    margin-top: 0.4rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 32rem;
    background-color: #292929;
    color: #ddd;
}

.bold {
    font-weight: bold;
}

.req-get {
    color: #297027;
}

.req-post {
    color: #9c741c;
}

.req-put {
    color: #388db4;
}

.req-patch {
    color: #7544ac;
}

.req-delete {
    color: #af2e2e;
}