#file-tag-div {
    display: none;
}

#use-password:checked + #password-div {
    display: block;
}

#reset {
    display: none;
}

#form-fieldset {
    border: none;
}


a {
    word-break: break-all
}

#upload-type-div {
    border-bottom: 2px dotted gray !important;
    border-radius: 0 !important;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#file-tag-table {
    width: 100%;
}

#file-link-row {
    margin-bottom: 10px
}

#upload-file-row {
    display: none;
}

label {
    padding-left: 5px;
}

#title {
    width: 100%;
    max-width: unset;
    box-sizing: border-box;
}

.hide-desktop {
    display: none;
}

@media (max-width:768px) {
    #expiration {
        width: 100px;
    }
}

@media (max-width:425px) {
    #password-div {
        display: none;
    }

    #downloads, #expiration {
        width: 60px;
    }

    #downloads {
        padding-right: 5px;
    }

    .hide-mobile {
        display: none;
    }

    .hide-desktop {
        display: unset;
    }
}

#recipient-chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    background-color: rgba(10, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    padding: 5px;
    min-height: 36px;
    width: 100%;
    box-sizing: border-box;
    cursor: text;
}

.email-chip {
    display: inline-flex;
    align-items: center;
    background-color: rgba(77, 191, 77, 0.25);
    border: 1px solid rgba(77, 191, 77, 0.5);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: small;
    color: #ffffff;
    gap: 4px;
    max-width: 200px;
}

.email-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.email-chip button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.email-chip button:hover {
    color: #ffffff;
}

#recipient-email-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: small;
    flex: 1;
    min-width: 120px;
    padding: 2px 0;
    margin: 0;
    max-width: unset;
}

#recipient-chips-container.invalid {
    border-color: rgba(208, 77, 77, 0.7);
}