/* <------------------------------------------------------------------ box shadows page ----------------------------------------------------------------> */
.box_shadow_textarea {
  display: none;
}

.actions_icon a {
  cursor: pointer;
}

/* profile setting page  */
.profile_image>img {
  height: 12rem;
  aspect-ratio: 1/1;
  border-radius: 0.3rem;
  object-fit: cover;
}

.box_shadow_textarea {
  min-height: 20rem !important;
}

.view-user>li {

  margin-bottom: 1rem;
}

.text-primary {
  color: #1A096D !important;
}

.bg-primary {
  background-color: #1A096D !important;
}

.btn-primary {
  background-color: #1A096D !important;
  border-color: #1A096D;
}
.btn-outline-primary {
  background-color: #1A096D !important;
  border-color: #1A096D;
}









/* Additional CSS for Tools Admin Forms */

/* Tab Navigation Styling */
.nav-pills .nav-link {
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white;
}

.nav-pills .nav-link i {
    margin-bottom: 4px;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Tags and Keywords Input Styling */
.tags-input-container, .keywords-input-container {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 50px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tags-input-container:focus-within, .keywords-input-container:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.tag-item, .keyword-item {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 4px 12px;
    margin: 2px;
    border-radius: 15px;
    font-size: 0.875rem;
    position: relative;
    animation: fadeInScale 0.2s ease-out;
}

.tag-item .remove-tag, .keyword-item .remove-keyword {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    padding: 0 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.tag-item .remove-tag:hover, .keyword-item .remove-keyword:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tags-input-container input, .keywords-input-container input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 100px;
    padding: 4px;
}

/* Meta Tags Container */
.meta-tag-row {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.meta-tag-row:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* FAQ Items */
.faq-item {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.faq-item .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* JSON Textarea Validation */
.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 1.44 1.44L7.37 4.6l.94.94L4.78 8.95 2.3 6.47z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4-2.4 2.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Button Styling */
.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.remove-meta-tag, .remove-faq {
    transition: all 0.2s ease;
}

.remove-meta-tag:hover, .remove-faq:hover {
    transform: scale(1.05);
}

/* Image Preview */
.img-fluid.rounded {
    transition: transform 0.3s ease;
    border: 2px solid #dee2e6;
}

.img-fluid.rounded:hover {
    transform: scale(1.02);
    border-color: #0d6efd;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meta-tag-row:last-child,
.faq-item:last-child {
    animation: fadeInUp 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        margin: 5px 0;
        text-align: center;
        font-size: 0.875rem;
        padding: 10px 15px;
    }
    
    .nav-pills .nav-link i {
        font-size: 1rem;
    }
    
    .meta-tag-row .col-md-2 {
        margin-top: 10px;
    }
    
    .faq-item .card-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-item .card-header .btn {
        margin-top: 10px;
    }
    
    .tags-input-container, .keywords-input-container {
        min-height: 60px;
    }
}

/* Loading States */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sticky Submit Buttons */
.submit-buttons-sticky {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 15px 0;
    margin-top: 30px;
    z-index: 100;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom Badge Styling */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

/* File Input Styling */
.form-control[type="file"] {
    padding: 0.375rem 0.75rem;
}

.form-control[type="file"]::-webkit-file-upload-button {
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    margin-inline-end: 0.75rem;
    color: #495057;
    background-color: #e9ecef;
    border: 0;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control[type="file"]:hover::-webkit-file-upload-button {
    background-color: #ddd;
}

/* Textarea Auto-resize */
.auto-resize {
    resize: vertical;
    min-height: 100px;
}

/* Character Counter */
.char-counter {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: right;
    margin-top: 4px;
}

.char-counter.text-warning {
    color: #ffc107 !important;
}

.char-counter.text-danger {
    color: #dc3545 !important;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Success/Error messages */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.tags-input-container, .keywords-input-container {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 50px;
    background: white;
}

.tag-item, .keyword-item {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 4px 12px;
    margin: 2px;
    border-radius: 15px;
    font-size: 0.875rem;
    position: relative;
}

.tag-item .remove-tag, .keyword-item .remove-keyword {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.tag-item .remove-tag:hover, .keyword-item .remove-keyword:hover {
    color: #ff6b6b;
}

.tags-input-container input, .keywords-input-container input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    min-width: 100px;
}

.tags-input-container:focus-within, .keywords-input-container:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}