* {
    font-family: Bahnschrift, serif;
    user-select: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 2rem 5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 35rem;
    height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.card-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tabs {
    position: absolute;
    top: 0;
    display: flex;
    gap: .25rem;
    transform: translateY(-100%);
    align-items: flex-end;
}

.tab {
    font-size: 1.2rem;
    margin-right: 0.2rem;
    padding: 0.5rem 1.5rem;
    background: #eaeaea;
    border: 2px solid #ccc;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #333;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.tab.active {
    background: white;
    color: #1976d2;
    z-index: 3;
    border-color: #ccc;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.tab-content {
    display: block;
}


h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

label {
    font-size: 1.25rem;
}

input[type="file"] {
    display: none;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background-color 0.2s;
    min-width: 10rem;
    max-width: 12rem;
    margin-bottom: 1rem;
}
.submit-btn:hover {
    background-color: #45a049;
}
.submit-btn:hover {
    background-color: #409544;
}
.submit-btn:disabled {
    background-color: #b3b3b3;
    color: #818181;
    cursor: not-allowed;
}

.form-element {
    text-align: left;
    width: 100%;
    margin-bottom: 1rem;
}

.form-element input {
    height: 3rem;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    border-radius: .5rem;
    padding-left: .5rem;
    font-size: 1.25rem;
}

#select-file-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

#select-file-button ._btn {
    width: 25%;
    box-sizing: border-box;
    background-color: #1e82d1;
    padding: .2rem 0 .2rem .2rem;
    color: white;
    border: none;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 3rem;
    font-size: 1.25rem;
}
#select-file-button ._btn:hover {
    background-color: #1976D2;
}
#select-file-button ._btn:active {
    background-color: #1462af;
}

#select-file-button ._container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
}

#select-file-button ._text {
    width: 75%;
    color: #555555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
    display:inline;
    height: 100%;
    padding: 0 .5rem;
    box-sizing: border-box;
}

div ._text[data-active="true"] {
    cursor: pointer;
}

#select-file-button {
    outline: 3px dashed transparent;
    transition: outline-color 0.2s ease, background-color 0.2s ease;
}

#select-file-button.drag-over-body {
    outline-color: #1976d2;
    background-color: #fafafa;
}

#select-file-button.drag-over-target {
    outline-color: #4CAF50;
    background-color: #f3fff3;
}

#open-admin-menu {
    position: absolute;
    left: .5rem;
    bottom: .5rem;
    width: 2.5rem;
    transition: scale 300ms, opacity 300ms;
    cursor: pointer;
    opacity: .75;
}

.link-container img:hover {
    scale: 1.1;
    opacity: 1;
}

.link-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.link-container ._container {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 2.25rem;
    width: calc(100% - 2.5rem);
    color: #555555;
    padding-left: .5rem;
}

.link-container img {
    height: 2rem;
    width: 2rem;
    opacity: .75;
    cursor: pointer;
    transition: scale 300ms, opacity 300ms;
    visibility: hidden;
}
