.card-body .table-condensed td,
.card-body .table-condensed th {
    padding: 3px 4px !important;
}

.text-primary {
    color: #fecc0b;
    font-weight: bold;
}

.custom-radio {
    display: none;
}

.custom-radio + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

.custom-radio + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #000;
    background-color: #fff;
    border-radius: 0px;
}

.custom-radio:checked + label:before {
    background-color: #007bff;
    border: 2px solid #007bff;
}

.custom-radio:checked + label:after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

table {
    width: 100%;
    border-collapse: collapse;
}

.folder-icon {
    font-size: 24px;
    color: burlywood;
    margin-right: 8px;
}

.delete-icon {
    font-size: 24px;
    color: #dc3545;
    cursor: pointer;
}

.delete-icon:hover {
    color: #ff0000;
}

.card-title {
    color: #fecc0b !important;
    font-size: 10px !important;
}

.search-box {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

form.search {
    display: flex;
    width: 100%;
}

#search_item,
#recipient_search_input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.search-button,
.search_item_recipient {
    background-color: #fecc0b;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px !important;
}

.search-button i {
    color: white;
}

.search-button:hover {
    background-color: #0056b3;
}
.outliner {
    color: #fecc0b !important;
}

.btn-xs {
    padding: 6px 12px !important;
    font-size: 0.875rem;
    line-height: 1.3;
    border-radius: 4px;
    margin-bottom: 2px;
}

table thead th {
    font-size: 0.875rem;
    color: #6c757d !important;
    font-weight: 500;
    text-align: left !important;
}
/* //make text align for all table td left too */
table tbody td {
    font-size: 0.875rem;
    color: #212529 !important;
    font-weight: 400;
    text-align: left !important;
}
.alert-dismissible {
    padding: 0.6rem 1.1rem !important;
    margin-bottom: 0.5rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.25rem !important;
}
/* //customize the size of input, select, textarea form-control*/

.form-control,
select.form-control,
textarea.form-control {
    color: #0056b3 !important;
}

/* =========================== AUTH STYLES =========================== */
/* Custom Auth Styles */
.auth-logo {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.05);
}

.auth-right {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: transparent;
}

.max-w-464-px {
    position: relative;
    z-index: 2;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth .form-control {
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    background: white;
}

.auth .form-control:focus {
    border-color: #3b82f6;
    outline: none;
    background: white;
}

.auth .icon-field .icon {
    color: #64748b;
    transition: color 0.3s ease;
}

.auth .icon-field .form-control:focus + .icon,
.auth .icon-field:focus-within .icon {
    color: #3b82f6;
}

.auth .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth .btn-primary:hover {
    transform: translateY(-2px);
}

.auth .btn-primary:active {
    transform: translateY(0);
}

.auth .btn-primary.loading {
    pointer-events: none;
    opacity: 0.8;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

.auth .alert {
    border-radius: 12px;
    border: none;
    background: white;
    border-left: 4px solid #3b82f6;
}

.auth .alert-success {
    border-left-color: #10b981;
}

.auth .alert-danger {
    border-left-color: #ef4444;
}

.auth .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.auth .text-primary-600 {
    color: #3b82f6 !important;
    transition: color 0.3s ease;
}

.auth .text-primary-600:hover {
    color: #1d4ed8 !important;
}

/* Auth Page Specific Styles */
.auth {
    background: #ffffff;
    min-height: 100vh;
}

.auth.bg-base {
    background: #ffffff;
}
