.tf-form {
    padding: 20px;
    background: #ffffff;
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.form-label {
    font-weight: bold;
    margin-bottom: 8px;
    font-family: var(--wp--preset--font-family--nunito) !important;
    font-size: 16px;
}

.tf-form p {
    margin-bottom: 15px;
}

.tf-form input[type="text"] {
    width: 95% !important;

}


.tf-form input[type="text"],
.tf-form input[type="file"] {
    width: 90%;
    padding: 8px;
    outline: none;
    border: 1px solid #ccc;

}

.tf-form input[type="submit"] {
    background: var(--wp--preset--color--primary);
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--roboto);
    font-size: 14px;
    transition: all .2s;
}

.tf-form input[type="submit"]:hover {
    background: var(--wp--preset--color--primary-contrast);
    ;
}

.tf-tender-list {
    list-style: none;
    padding-left: 0;
}

.tf-tender-list li {
    margin-bottom: 15px;
}

.tf-download {
    background-color: #0073aa;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    margin-left: 10px;
}

.tf-download:hover {
    background-color: #005a87;
}

.tf-success {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

.tf-tender-box {
    margin-bottom: 20px;
}

.tf-tender-box h3 {
    font-size: 18px;
    margin: 0 0 5px;
}

.tf-tender-box a {
    color: #0073aa;
    text-decoration: none;
}

.tf-tender-box a:hover {
    text-decoration: underline;
}

.tf-edit-form input[type="text"] {
    width: 100%;
    padding: 7px;
}

.tf-delete-link {
    color: red;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.tf-delete-link:hover {
    text-decoration: underline;
}

.tf-tender-box {
    margin-bottom: 25px;
}

.tf-edit-link {
    color: #0073aa;
    font-weight: bold;
    margin-left: 10px;
}

.tf-edit-inline-form input[type="text"] {
    width: 100%;
    padding: 8px;
}

.tf-edit-inline-form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
}

.tf-edit-inline-form a {
    margin-left: 15px;
    text-decoration: none;
}

.tf-tender-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px;
}

.tf-tender-box p a {
    color: #0073aa;
    text-decoration: none;
}

.tf-tender-box p a:hover {
    text-decoration: underline;
}

.tf-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}


.tf-modal-content {
    margin: 60px auto;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Segoe UI', sans-serif;
}



.tf-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.tf-edit-btn {
    margin-top: 5px;
    padding: 6px 16px;
    background: var(--wp--preset--color--primary);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;

}

.tf-edit-btn:hover {
    background: var(--wp--preset--color--primary-contrast);
    text-decoration: underline;
}

/* Modal Edit Form Styling */
.tf-edit-form {
    padding: 20px;
    font-family: var(--wp--preset--font-family--roboto);
}

.tf-edit-form label {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    display: block;
}

.tf-edit-form input[type="text"],
.tf-edit-form input[type="file"] {
    width: 95%;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.tf-edit-form input[type="submit"] {
    background-color: #f26522;
    /* Same orange */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px;
}

.tf-edit-form input[type="submit"]:hover {
    background-color: #d95713;
}

.tf-edit-form input[type="text"] {
    border: 1px solid #ccc;
}

.tf-delete-btn {
    margin-top: 5px;
    padding: 6px 16px;
    background: var(--wp--preset--color--secondary) !important;
    color: white !important;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
}

.tf-delete-btn:hover {
    background-color: var(--wp--preset--color--secondary-contrast) !important;
}

.tf-flex-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.tf-flex-item {
    flex: 1 1 250px;
    min-width: 200px;
}

.tf-form input[type="datetime-local"] {
    width: 90%;
    padding: 9px;
    border: 1px solid #ccc;
}

.tf-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

#tf_media_picker {
    padding: 6px 16px;
    margin-top: 10px;
}

.tf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.tf-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.tf-close {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    font-size: 22px;
    color: #666;
}

.tf-edit-form [type="text"] {
    width: 100% !important
}

.tf-edit-form input[type="text"] {
    width: 95% !important;

}


.tf-edit-form input[type="text"],
.tf-edit-form input[type="file"] {
    width: 90%;
    padding: 8px;
    outline: none;
    border: 1px solid #ccc;

}

.tf-edit-form input[type="datetime-local"] {
    width: 90%;
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#tf_edit_media_picker {
    padding: 6px 16px;
    margin-top: 10px;
}