/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Font Definitions with Fallbacks */
@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.gstatic.com/s/poppins/v20/pxibyp8kv8jokoy5at8.woff2') format('woff2');
    fallback: 'Arial, sans-serif';
}

@font-face {
    font-family: 'Roboto';
    src: url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me5Q.ttf') format('truetype');
    fallback: 'Arial, sans-serif';
}

body, .menu-item, input, button {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* General Enhancements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}
#site-header {
	width:95%;
}
/* Menu Stability */
.main-navigation {
    display: block !important;
    visibility: visible !important;
    width: auto !important;
}

.navbar {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Search Input Styling */
#searchInput {
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border: 1px solid #ced4da;
    width: 100%;
    max-width: 300px;
}

#searchInput:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Table Styling */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.table thead th {
    background-color: #007bff;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table td {
    padding: 12px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* Button Styling */
.btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 2px;
    display: inline-block;
    font-weight: 500;
}

.btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    text-decoration: none;
}

/* Small Button Styling */
.btn-sm {
    padding: 4px 8px;
    font-size: 14px;
}

/* Secondary Button Styling */
.btn-secondary {
    background-color: #6c757d; /* Default secondary color */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268; /* Darker shade on hover */
    transform: scale(1.05);
}

/* N/A Button Styling (disabled state) */
.btn-secondary.disabled,
.btn-secondary:disabled {
    background-color: #adb5bd !important; /* Lighter gray for "dull" effect */
    color: #fff !important;
    opacity: 0.65 !important; /* Slightly transparent */
    cursor: not-allowed !important;
    pointer-events: none !important; /* Non-clickable */
    text-decoration: none !important;
}

.btn-secondary.disabled:hover,
.btn-secondary:disabled:hover {
    background-color: #adb5bd !important; /* No hover effect */
    transform: none !important; /* No scale effect */
}

/* Margin Utility (replace m-1 from Bootstrap) */
.m-1 {
    margin: 0.25rem !important; /* 4px margin, equivalent to Bootstrap m-1 */
}

/* DataTables Pagination */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5rem 1rem;
    margin: 0 0.1rem;
    border-radius: 0.5rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0056b3;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #0056b3;
}

.dataTables_info {
    margin-top: 20px;
    text-align: center;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .table td, .table th {
        padding: 8px;
        font-size: 14px;
    }
    .btn, .btn-sm {
        padding: 4px 8px;
        font-size: 14px;
    }
}