/* Step indicator */


a.wp-logout-button {
    color: #fff;
}

.step-indicator,
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    opacity: 0.5;
    cursor: pointer;
    width: 200px;
}

.step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.step p {
    font-size: 12px;
    width: 100%;
    text-align: center;
    line-height: 14px;
}

.step.active {
    opacity: 1;
}

.step.active span {
    background: #0a3161;
}

.step.completed span {
    background: #28a745;
}

/* Step form */
.step-form .step-content {
    display: none;
}

.step-form .step-content.active {
    display: block;
}

.step-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #0a3161;
}

.next-btn,
.prev-btn {
    background: #0a3161;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

.next-btn:hover,
.prev-btn:hover {
    background: #005a87;
}

/* Form buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Form containers */
#zigzagpol-registration,
#zigzagpol-visitor-registration {
    max-width: 600px;
    margin: 0px auto;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Form elements */
#zigzagpol-registration form,
#zigzagpol-visitor-registration form {
    display: flex;
    flex-direction: column;
}

/* Labels */
label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    font-size: 12px;
}

/* Inputs, textarea, select */
.step-form input[type="text"],
.step-form input[type="password"],
.step-form input[type="email"],
.step-form input[type="date"],
.step-form input[type="url"],
.step-form input[type="phone"],
.step-form input[type="tel"],
.step-form textarea,
.step-form select {
    width: 100%;
    padding: 15px 10px !important;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    font-size: 16px;
}

.step-form select {
    margin-bottom: 20px !important;
}

.step-form textarea {
    height: 100px;
    resize: vertical;
    margin-bottom: 30px !important;
}

/* Checkbox */
.step-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
}

/* Submit button */
.step-form button[type="submit"] {
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    align-self: flex-start;
}

.step-form button[type="submit"]:hover {
    background: #0a3161 !important;
}




form#filter-form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}



/* Institution Directory Filters */
#institution-filters {
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}

/* Host Directory Filters */
#host-filters {
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}

#host-filter-form {
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    display: flex;
    margin-top: 30px;
    width: 100%;
    justify-content: flex-start;
}

#filter-form input[type="text"] {
    flex: 1;
    padding: 0 30px;
    border: 1px solid #ddd !important;
    border-radius: 9px;
    font-size: 16px;
    min-width: 100%;
    height: 55px;
    font-family: 'Plus Jakarta Sans' !important;
    font-weight: 500;
    margin: 0 !important;
}

#filter-form select {
    padding: 8px;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    font-size: 14px;
    width: 100%;
    max-width: 24.5%;
    height: 55px;
    padding: 0 20px;
    font-family: 'Plus Jakarta Sans' !important;
    font-weight: 500;
    margin: 0 !important;
}

#filter-form button[type="submit"] {
    display: none;
}

#host-filter-form {
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    display: flex;
    margin-top: 30px;
    width: 100%;
    justify-content: flex-start;
}

#host-filter-form input[type="text"] {
    flex: 1;
    padding: 0 30px;
    border: 1px solid #ddd !important;
    border-radius: 9px;
    font-size: 16px;
    min-width: 100%;
    height: 55px;
    font-family: 'Plus Jakarta Sans' !important;
    font-weight: 500;
    margin: 0 !important;
}

#host-filter-form select {
    padding: 8px;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    font-size: 14px;
    min-width: 13%;
    max-width: 13%;
    height: 55px;
    padding: 0 20px;
    font-family: 'Plus Jakarta Sans' !important;
    font-weight: 500;
    margin: 0 !important;
}

#host-filter-form button[type="submit"] {
    display: none;
}

#host-filter-form button[type="submit"]:hover {
    background: #005a87;
}

#filter-form button[type="submit"]:hover {
    background: #005a87;
}

div#next-step h3 {
    text-align: center;
    font-size: 20px;
    color: #000;
    font-weight: 700;
}

.SuccessFull p {
    background-color: #9dffc9;
    color: #006417;
    padding: 7px 40px;
    margin-top: 20px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
}

.institution-item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.institution-item>div {
    width: 100%;
    text-align: left;
}

#institution-results {
    border: 1px solid #ddd;
    padding: 19px;
    margin-top: 40px;
    border-radius: 10px;
}

#host-results {
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 0;
    border-radius: 10px;
}

.institution-results-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dbdbdb;
}

.institution-results-header>div {
    width: 100%;
    color: #000;
    padding-bottom: 20px;
}

.institution-item>div * {
    font-size: 14px;
}

.institution-item h3 {
    line-height: 16px !important;
    margin-bottom: 0 !important;
}

.institution-item>div span {
    background-color: #00000014;
    font-size: 12px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 0 10px;
}

span.website a {
    font-size: 12px;
}

span.website {
    background-color: #f0f8ff;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 13px;
    width: min-content;
    min-width: 160px;
    max-width: 240px;
    overflow: hidden;
    margin-top: 10px;
    word-wrap: break-word;
    line-height: 16px;
}

.institution-item h3 a {
    color: #33373d;
    font-weight: 500;
    font-size: 12px;
    line-height: 10px;
}

button#reset-filters {
    background-color: transparent;
    color: #000;
    padding: 10px 0;
    height: auto;
    border: 0 !important;
}

button#host-reset-filters {
    background-color: transparent;
    color: #000;
    padding: 10px 0;
    height: auto;
    border: 0 !important;
}

.filter-text {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #000;
    font-weight: 600;
}

.filter-text>span {
    display: block;
    height: 20px;
    font-family: 'Plus Jakarta Sans' !important;
}

.filter-text>span>svg {
    position: relative;
    top: 3px;
}

.institution-item:last-child {
    border: 0 !important
}

.search-wrapper {
	width:100%;
    max-width: 100%;
    position: relative;
}

.search-wrapper {
    min-width: 39%;
    position: relative;
}

/* Host search wrapper */
#host-filters .search-wrapper {
    min-width: 39%;
    position: relative;
}

span.search-icon {
    position: absolute;
    right: 10px;
    top: 57%;
    transform: translate(0, -50%);
}

/* Visitors Page Styles */
#zigzagpol-visitors-page {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h2 {
    color: #0a3161;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.page-header p {
    color: #6c757d;
    font-size: 1.1em;
    margin: 0;
}

.page-actions {
    text-align: center;
    margin-bottom: 30px;
}

.primary-button {
    background-color: #28a745;
}

.primary-button:hover {
    background-color: #218838;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.visitors-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.visitors-table th,
.visitors-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.visitors-table th {
    color: #000;
    font-weight: 600;
}

/* Contact Visitor Modal */
#contact-visitor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#contact-visitor-modal form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
}

#contact-visitor-modal h3 {
    margin-bottom: 20px;
    color: #0a3161;
}

#contact-visitor-modal .form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#close-modal {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#close-modal:hover {
    background-color: #545b62;
}

/* General Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 0;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #0a3161;
    margin-top: 0;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

/* Institution Details Styles */
span.verified-badge {
    background: #28a74542;
    padding: 6px 10px;
    border-radius: 100px;
    color: #000;
    font-size: 10px;
    display: block;
    width: 70px;
    height: 26px;
    margin: 0;
    margin-bottom: 10px;
}
.zigzagpol-institution-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.institution-header {
    text-align: center;
    margin-bottom: 30px;
}

.institution-header h1 {
    color: #0a3161;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.institution-type {
    color: #6c757d;
    font-size: 1.2em;
    font-style: italic;
}

.institution-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.institution-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.institution-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.info-section h3 {
    color: #0a3161;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.info-section p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-section a {
    color: #007bff;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

.institution-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.zigzagpol-add-visitor-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.zigzagpol-add-visitor-btn:hover {
    background-color: #218838;
}

/* Dashboard Styles */
#zigzagpol-user-dashboard {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    gap: 10px;
    min-height: 600px;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid #ddd;
    overflow: hidden;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #0a3161;
    color: white;
    border-radius: 0;
    display: none;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
}

.sidebar-nav {
    padding: 0px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 23px 10px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 20px;
}

.sidebar-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: #0a3161;
}

.sidebar-nav .nav-link.active {
    background-color: #0a3161;
    color: white;
    border-left-color: #0a3161;
}

.nav-icon {
    margin-right: 12px;
    font-size: 1.2em;
}



/* Main Content Area */
.dashboard-main-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.dashboard-section {
    display: none;
    padding: 30px;
}

.dashboard-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
}

.section-header h2 {
    color: #0a3161;
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: 600;
    font-size: 28px !important;
    line-height: 28px !important;
}

.section-header p {
    color: #6c757d;
    margin: 0;
    font-size: 1.1em;
}

/* Overview Stats */
.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: transparent;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
}

.stat-card:hover {}

.stat-icon {
    font-size: 3em;
    opacity: 0.8;
}

.stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 2.5em;
    font-weight: 700;
    color: #0a3161;
}

.stat-content p {
    margin: 0;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: end;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

/* Profile Content */
.profile-content {
    max-width: 100%;
}

.profile-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.profile-details h4 {
    color: #0a3161;
    margin: 0 0 20px 0;
    font-size: 1.3em;
}

.profile-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Content Areas */
.visitors-content,
.events-content {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    border: 0;
    margin-bottom: 40px !important;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.dashboard-section:hover {
    transform: translateY(-2px);
}

.dashboard-section h3 {
    color: #0a3161;
    margin-bottom: 20px;
    font-size: 1.4em;
    padding-bottom: 0;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #495057;
}

.value {
    color: #6c757d;
    text-align: right;
}

.visitors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.visitor-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #0a3161;
}

.visitor-item h4 {
    margin: 0 0 10px 0;
    color: #0a3161;
    font-size: 1.1em;
}

.visitor-item p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #495057;
}

.section-actions {
    text-align: center;
    margin-top: 20px;
    background-color: transparent;
    padding: 10px 0 15px 0;
    display: flex;
}

.no-data {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    text-align: center;
}

.link-item:hover {
    background-color: #0a3161;
    color: white;
    transform: translateY(-2px);
}

.link-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.link-item span:last-child {
    font-weight: 500;
}

.dashboard-section h3 {
    color: #0a3161;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.dashboard-section ul {
    list-style-type: none;
    padding: 0;
}

.dashboard-section li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dashboard-section li:last-child {
    border-bottom: none;
}

.dashboard-section a {
    color: #007bff;
    text-decoration: none;
}

.dashboard-section a:hover {
    text-decoration: none;
}

/* Enhanced Dashboard Styles for Minimal and Professional Look */
.quick-links-top {
    margin-bottom: 40px;
    text-align: center;
}

.quick-links-top .quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    background-color: transparent;
    border-radius: 8px;
    text-decoration: none;
    color: #495057 !important;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
    font-size: 18px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.quick-link-card:hover {
    background-color: transparent;
    color: #000;
}

.quick-link-card .link-icon {
    font-size: 2.5em;
    margin-bottom: 28px;
}

.quick-link-card span:last-child {
    font-weight: 500;
    font-size: 0.9em;
}

.dashboard-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-left,
.dashboard-right {
    display: flex;
    flex-direction: column;
}

.dashboard-tabs {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    flex: 1;
}

.tab-buttons {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.tab-button {
    background: none;
    border: none !important;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s ease;
    background-color: transparent !important;
    color: #000 !important;
}

.tab-button.active {
    color: #dc143c !important;
    border-bottom-color: #dc143c !important;
    border-radius: 0;
    background-color: transparent;
}

.tab-button:hover {
    color: #0a3161;
}

.tab-content {
    flex: 1;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.dashboard-card {
    border: 0;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    border: 0 !important;
    border-color: #fff !important;
}

.dashboard-table th,
.dashboard-table td {
    padding: 10px;
    text-align: left;
    border: 0;
    background-color: #fff !important;
    font-size: 14px;
}

.dashboard-table th {
    background-color: #fff;
    font-weight: 600;
    color: #000;
    border: 0;
}

.dashboard-table tr:nth-child(even) {
    background-color: #fff;
}

.dashboard-table tr:hover {
    background-color: #e9ecef;
}

.dashboard-table a {
    color: #007bff;
    text-decoration: none;
}

.dashboard-table a:hover {
    text-decoration: underline;
}

.button {
    background-color: #0a3161;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #005a87;
}

/* Admin Dashboard Styles */
.zigzagpol-admin-wrap {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.zigzagpol-admin-header {
    background: linear-gradient(135deg, #0a3161 0%, #1e5f99 100%);
    color: white;
    padding: 30px;
    margin: -20px -20px 30px -20px;
    border-radius: 8px 8px 0 0;
}

.zigzagpol-admin-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    font-weight: 600;
}

.zigzagpol-admin-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

.zigzagpol-admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zigzagpol-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.zigzagpol-stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zigzagpol-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 3em;
    opacity: 0.8;
}

.stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 2.5em;
    font-weight: 700;
    color: #0a3161;
}

.stat-content p {
    margin: 0;
    color: #33373d;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.zigzagpol-dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.zigzagpol-dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zigzagpol-admin-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.zigzagpol-admin-section h2,
.zigzagpol-admin-section h3 {
    color: #0a3161;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.zigzagpol-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zigzagpol-activity-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zigzagpol-activity-list li:last-child {
    border-bottom: none;
}

.zigzagpol-activity-list li strong {
    color: #495057;
    font-weight: 600;
}

.zigzagpol-activity-list li span {
    color: #6c757d;
    font-size: 0.9em;
}

.zigzagpol-no-data {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
    margin: 0;
}

.zigzagpol-quick-actions {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.zigzagpol-quick-actions h3 {
    color: #0a3161;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.zigzagpol-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.zigzagpol-action-buttons .button {
    padding: 12px 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.zigzagpol-action-buttons .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 49, 97, 0.3);
}

.zigzagpol-admin-table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.zigzagpol-admin-table-container table {
    min-width: 600px;
}

.zigzagpol-admin-table-container th,
.zigzagpol-admin-table-container td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.zigzagpol-admin-table-container th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

/* Settings Page Enhancements */
.tab-content {
    margin-top: 20px;
}

.tab-content form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.tab-content .form-table th {
    padding: 20px 10px 20px 0;
    font-weight: 600;
    color: #495057;
    width: 200px;
}

.tab-content .form-table td {
    padding: 15px 10px;
}

.tab-content input[type="text"],
.tab-content select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.tab-content input[type="text"]:focus,
.tab-content select:focus {
    outline: none;
    border-color: #0a3161;
    box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.1);
}

.tab-content .description {
    color: #6c757d;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.start-time-div {
    display: flex;
    gap: 10px;
}

.step-form label {
    display: block;
    margin-bottom: 7px;
}

.start-time-div>div input {
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 100%;
}

.start-time-div>div {
    width: 100%;
    max-width: 50%;
}

.section-actions button {
    padding: 8px 14px !important;
    background-color: #dc143c !important;
    color: #f8f9fa !important;
    font-size: 12px !important;
}

.section-actions button:hover {
    background-color: transparent;
    color: #dc143c;
}

.dashboard-table th a,
.dashboard-table td a {
    font-size: 14px;
    color: #000;
    text-transform: capitalize;
}

.nav-button {
    background-color: transparent !important;
    color: #000 !important;
    font-size: 12px !important;
    border: 1px solid #ddd !important;
    padding: 10px 15px !important;
}

.calendar-month-wrap h2 {
    font-size: 16px !important;
    text-align: left !important;
}

.calendar-month-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-month-wrap #current-month-year {
    min-width: auto;
}

.toggle-view-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

button#today-filter {
    background-color: transparent;
    border-color: #ddd !important;
    color: #1f2124;
    font-size: 12px;
}

.calendar-filters div {
    width: 100% !important;
    max-width: 32%;
}

.viistor-filter-wrapper {
    border: 1px solid #D5D5D5;
    border-radius: 10px;
}

button.edit-event-btn,
button.edit-event-btn:hover,
button.edit-visitor-btn,
button.edit-visitor-btn:hover {
    background-color: transparent !important;
    color: #000 !important;
    padding: 0 !important;
    font-size: 12px !important;
    border: 0 !important;
}

/* ZygZagPol Event Calendar Styles */
#zigzagpol-event-calendar {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-header {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
}

.page-header h5 {
    color: #000;
    margin-bottom: 0px;
    font-weight: 700;
    font-size: 18px !important;
    text-align: left;
}

.page-header p {
    color: #545454;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.calendar-controls {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    flex-direction: column;
    gap: 10px;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-button {
    background: #0a3161;
    color: white;
    border: none;
    padding: 10px 15px 7px 15px !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background: #005a87;
}

#current-month-year {
    margin: 0;
    color: #0a3161;
    font-size: 1.5em;
    font-weight: 600;
    min-width: 200px;
    text-align: center;
}

.view-toggle {
    display: flex;
    gap: 15px;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

.toggle-option input[type="radio"] {
    margin: 0;
}

.calendar-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #0a3161;
    box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.1);
}

.calendar-grid {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #0a3161;
    color: white;
}

.calendar-day-header {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 120px;
    padding: 8px;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-day:hover {
    background-color: #f8f9fa;
}

.calendar-day.other-month {
    background-color: #f8f9fa;
    color: #6c757d;
}

.calendar-day.today {
    background-color: #e3f2fd;
}

.calendar-day.today::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0a3161;
}

.day-number {
    font-weight: 600;
    margin-bottom: 8px;
    color: inherit;
}

.day-events {
    font-size: 12px;
}

.event-count {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    display: inline-block;
}

.calendar-day.has-events {
    background-color: #fff3cd;
}

.calendar-day.has-events:hover {
    background-color: #ffeaa7;
}

.month-summary {
    margin: 20px 0;
    padding: 15px;
    background: #e9ecef;
    border-radius: 8px;
    display: none;
    /* Show when needed */
}

.month-summary p {
    margin: 0;
    color: #495057;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 0;
    padding: 30px;
    max-width: 750px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #0a3161;
}

.event-detail {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.event-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-detail h4 {
    color: #0a3161;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.event-detail p {
    margin: 5px 0;
    color: #495057;
}

.event-detail a {
    color: #007bff;
    text-decoration: none;
}

.event-detail a:hover {
    text-decoration: underline;
}

.event-content-wrapper {
    padding: 20px;
}

/* Yearly View */
.yearly-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 5px;
    padding: 20px;
}

.month-mini {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.month-mini h4 {
    color: #0a3161;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.month-event-count {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.visitor-wrapper {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px 0;
    padding: 20px;
}

.visitors-table {
    padding: 20px;
    border: 1px solid #b1b1b1 !important;
}

.visitors-table th,
.visitors-table thead {
    border: 0 !important;
}

.visitors-table td,
.visitors-table tbody {
    border: 0 !important;
    background-color: transparent !important;
    border-bottom: 1px solid #ddd !important
}

.visitors-table th {
    text-align: left;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #ddd !important
}

.visitors-table td {
    padding: 7px 5px;
    font-size: 12px;
    width: 300px;
}
.visitors-table td p{
    margin: 0 0 5px 0;
}
.visitors-table td a {
    font-size: 12px
}

button#visitor-today-filter {
    border: 1px solid #d5d5d5 !important;
    background-color: transparent;
    color: #000;
    font-size: 12px;
}

.view-toggle {
    background-color: #F1F7FB;
    padding: 6px;
    border-radius: 10px;
}

.view-toggle label {
    margin: 0;
}

.view-toggle label.active {
    background-color: #0a3161;
    color: #fff;
}

.view-toggle label {
    border-radius: 6px;
    padding: 9px 15px;
    position: relative;
}

.view-toggle label input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0;
}

span.type-name {
    background-color: #F1F7FB;
    padding: 5px 10px;
    border-radius: 10px;
    color: #0a3161;
}

span.visitor-area {
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 3px;
    font-size: 10px !important;
}

span.visitor-code {
    color: #dc143c !important;
}

span.visitor-country {
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 3px;
    font-size: 10px !important;
}

.calendar-filters.step-form>div:nth-child(2) {
    max-width: 30%;
}

.calendar-filters.step-form>div {
    width: 100% !important;
    max-width: 59%;
}

.calendar-filters.step-form>div:first-child {
    width: 100%;
    max-width: 80px;
}

.calendar-filters.step-form select,
.calendar-filters.step-form input {
    margin: 0 !important;
}

.calendar-filters.step-form {
    align-items: center;
}

/* Event Calendar Styles */
.page-header {
    text-align: center;
    margin-bottom: 0px;
}

.page-header h2 {
    color: #0a3161;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.page-header p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.calendar-controls {
    margin-bottom: 20px;
}

.calendar-filters {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: nowrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #23282d;
    font-size: 14px;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.event-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
}

.event-image {
    margin-bottom: 15px;
    height: 280px;
}

.event-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 4px;
}

.event-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}

.event-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.event-card h3 {
    margin: 0 0 10px 0;
    color: #000;
}

.event-card h3 a {
    text-decoration: none;
    color: #1f2124;
    font-size: 20px;
}

.event-card h3 a:hover {
    color: #007cba;
}

.event-meta {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.event-date-time {
    display: flex;
    flex-direction: column;
}

.event-date,
.event-time,
.event-location {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
}

.event-location {
    text-align: right;
    display: flex;
    gap: 10px;
}

span.event-location span.location-icon {
    padding-top: 3px;
}

.event-description {
    font-size: 12px;
    color: #1f2124;
    line-height: 18px;
}

.event-type span {
    background-color: #0a3161;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: capitalize;
    font-size: 12px;
}

/* Visitor Card */
.zigzagpol-visitor-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-around;
}

#contact-visitor-modal form#contact-visitor-form {
    padding: 0;
    width: 100%;
    box-shadow: 0 0 0 transparent;
}

form#contact-visitor-form button.btn.btn-primary {
    margin-top: 20px;
}

.visitor_card.full-card {
    max-width: 100%;
}

.visitor_card h4 {
    margin: 0;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.visitor_card h4 span {
    font-size: 12px;
    background-color: #f3f3f3;
    padding: 1px 9px;
    color: #3f444b;
    border-radius: 12px;
}

.visitor_card {
    border: 1px solid #c3c3c3;
    border-radius: 7px;
    padding: 30px;
    width: 100%;
    max-width: 49%;
}

.info-section.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}

.visitor_card.full-card.contact-card {
    background-color: #F1F7FB;
    border: 0;
}

.visitor_card p {
    font-size: 14px;
}

.visitor-title {
    display: flex;
    gap: 10px;
    align-items: center;
}

.visitor_card h4 {
    margin-bottom: 5px;
    color: #000;
    font-size: 18px;
}

.contact-info {
    width: 100%;
    max-width: 70%;
}

.contact-button {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 30%;
}

.info-card p {
    color: #000;
}

.info-card h6 {
    margin-bottom: 5px !important;
    color: #545454 !important;
    font-size: 12px !important;
}

.visitor_card.full-card.visitor-header>div {
    width: 100%;
    max-width: 50%;
}

.visitor_card.full-card.visitor-header {
    display: flex;
    align-items: center;
}

p.program-button {
    display: inline-block;
    background-color: #0a3161;
    color: #fff;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 7px;
}

.contact-button button {
    background-color: #0a3161 !important;
    border-color: #0a3161 !important;
    font-size: 12px !important;
}

.contact-button button:hover {
    background-color: #ffffff00 !important;
    color: #0a3161 !important;
}

span.region,
span.country,
span.days {
    display: inline-block;
    background-color: #f2f2f2;
    padding: 5px 12px;
    border-radius: 16px;
    color: #403e3e;
}

.event-header h1 {
    color: #0a3161;
    margin-bottom: 30px;
    text-align: center;
}

.event-thumbnail {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info-grid {
    display: flex;
    gap: 20px;
}

.event-info-grid>div,
.event-info-grid .info-section,
.info-section.event-description {
    width: 100%;
    max-width: 33.33%;
    border: 1px solid #dddada;
    padding: 30px;
    border-radius: 14px;
}

.info-section.event-description {
    max-width: 100%;
}

.event-content .event-description {
    font-size: 18px;
    margin-top: 20px;
    border: 1px solid #d5d3d3;
    padding: 30px;
    border-radius: 13px;
}

button.delete-visitor-btn,
button.delete-event-btn,
button.delete-visitor-btn:hover,
button.delete-event-btn:hover {
    background-color: transparent !important;
    color: #000 !important;
    font-size: 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

.visitor-back_button {
    width: 100%;
}

.visitor-back_button>div a {
    display: flex;
    gap: 10px;
}

.visitor-back_button>div span {
    color: #000 !important;
}

.visitor-back_button>div span :hover {
    color: #DC143C !important
}


span.page-numbers.current {
    background-color: #dc143c;
    color: #fff;
    border: 1px solid #dc143c;
}

.page-numbers {
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-size: 12px !important;
    margin: 0 3px;
    border-radius: 6px;
}

.page-numbers:hover {
    background-color: #0a3161;
    color: #fff !important;
}

span.page-numbers.dots {
    border: 0 !important;
    font-size: 20px !important;
}

span.page-numbers.dots:hover {
    background-color: transparent !important;
    color: #000 !important;
}

p.forgetmenot {
    display: flex;
}



/* Forgot Password Styles */
#zigzagpol-forgot-password {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    background: #ffffff;
    border-radius: 13px;
}

#zigzagpol-forgot-password form {
    display: flex;
    flex-direction: column;
}

#zigzagpol-forgot-password label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#zigzagpol-forgot-password input[type="text"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 16px;
}

#zigzagpol-forgot-password button[type="submit"] {
    background-color: #0a3161;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#zigzagpol-forgot-password button[type="submit"]:hover {
    background-color: #005a87;
}

#forgot-password-message {
    margin-top: 15px;
}

#forgot-password-message .notice {
    padding: 10px;
    border-radius: 4px;
    margin: 0;
}

#forgot-password-message .notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#forgot-password-message .notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#forgot-password-message .notice p {
    margin: 0;
}


input#age_confirmation {
    position: relative;
    top: 2px;
}


a.wp-logout-button {
    color: #fff;
    text-transform: capitalize;
    background-color: #5eb0ed;
    padding: 6px 10px;
    display: inline-block;
    font-size: 14px !important;
    width: 100px;
    text-align: center;
    border-radius: 6px;
    color: #fff !important;
    transition: all 0.6s ease-in-out;
}

a.wp-logout-button:hover {
    background-color: #fff !important;
    color: #0A3161 !important;
}

@media (max-width:1170px) {
    .table-responsive {
        overflow: scroll;
    }

    .visitors-table {
        width: 1200px;
    }

    p.website {
        min-width: 160px;
        max-width: 160px;
        font-size: 12px;
    }

    .search-wrapper {
        min-width: 35%;
        position: relative;
    }

    #filter-form select {
        min-width: 13%;
        max-width: 18%;
        font-size: 12px;
        padding: 0 10px;
    }

    #host-filter-form select {
        min-width: 13%;
        max-width: 18%;
        font-size: 12px;
        padding: 0 10px;
    }

    .visitors-content {
        overflow: scroll;
    }

    .visitors-content table.dashboard-table {
        width: 1200px;
    }

    table.dashboard-table {
        width: 1200px;
    }

    .events-content {
        overflow: scroll;
    }
}










/* Institution name with verified badge */
#institution-results td p {
    align-items: center;
    gap: 5px;
    margin: 0;
}

@media (max-width: 820px) {
    #institution-results {
        margin-top: 0 !important
    }

    #host-results {
        margin-top: 0 !important
    }

    #filter-form select {
        min-width: 29%;
        max-width: 29%;
    }

    #host-filter-form select {
        min-width: 29%;
        max-width: 29%;
    }

    .search-wrapper {
        min-width: 100%;
        max-width: 100%;
    }

    #zigzagpol-user-dashboard {
        flex-direction: column-reverse;
        gap: 20px;
        padding: 10px;
    }

    .dashboard-sidebar {
        width: 100%;
        order: 2;
        padding: 10px;
    }

    .dashboard-main-content {
        order: 1;
    }

    .sidebar-nav ul {
        display: flex;
        overflow-x: auto;
        padding: 0;
    }

    .sidebar-nav li {
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
    }

    .sidebar-nav .nav-link {
        white-space: nowrap;
        padding: 12px 15px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .sidebar-nav .nav-link.active {
        border-left: none;
        border-bottom-color: #0a3161;
    }

    .sidebar-footer {
        display: none;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .quick-actions {
        flex-direction: column;
    }

    .profile-actions {
        flex-direction: column;
    }

    #zigzagpol-registration,
    #zigzagpol-visitor-registration {
        margin: 0;
        padding: 10px;
    }

    /*     #filter-form {
        flex-direction: column;
        align-items: stretch;
    } */
    #filter-form input[type="text"],
    #filter-form select {
        min-width: auto;
    }

    .visitors-table {
        font-size: 14px;
    }

    .visitors-table th,
    .visitors-table td {
        padding: 10px;
    }

    .institution-info-grid {
        grid-template-columns: 1fr;
    }

    .filters form {
        flex-direction: column;
    }

    .filters input[type="text"],
    .filters input[type="date"],
    .filters select {
        min-width: auto;
    }

    .dashboard-main {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        border-bottom: none;
        border-left: 2px solid transparent;
    }

    .tab-button.active {
        border-left-color: #0a3161;
        border-bottom-color: transparent;
    }

    .quick-links-top .quick-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .quick-link-card {
        min-width: 150px;
    }

    .dashboard-table {
        font-size: 12px;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 8px 10px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .value {
        text-align: left;
    }

    .page-header h2 {
        font-size: 2em;
    }

    .institution-header h1 {
        font-size: 2em;
    }

    .zigzagpol-stats-grid {
        grid-template-columns: 1fr;
    }

    .zigzagpol-dashboard-content {
        grid-template-columns: 1fr;
    }

    .zigzagpol-admin-header {
        padding: 20px;
        margin: -10px -10px 20px -10px;
    }

    .zigzagpol-admin-header h1 {
        font-size: 1.8em;
    }

    .zigzagpol-action-buttons {
        flex-direction: column;
    }

    .zigzagpol-action-buttons .button {
        width: 100%;
        text-align: center;
    }

    /* Event Calendar Responsive */
    #zigzagpol-event-calendar {
        padding: 10px;
    }

    .calendar-controls {
        flex-direction: column;
        gap: 10px;
        padding: 10px 10px;
    }

    .calendar-navigation {
        justify-content: center;
        margin-top: 10px;
    }

    .calendar-filters {
        flex-direction: column;
    }

    .filter-group {
        min-width: auto;
        width: 100%;
    }

    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }

    .day-number {
        font-size: 14px;
    }

    .modal-content {
        margin: 20px;
        padding: 20px;
    }

    .yearly-view {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 0;
    }

    .month-mini h4 {
        font-size: 16px;
        margin: 0;
    }

    .month-calendar {
        font-size: 12px;
    }

    .page-header h2 {
        font-size: 2em;
    }

    /* Event Grid Responsive */
    .event-grid {
        flex-direction: column;
    }

    .event-card {
        flex: 1 1 100%;
        min-width: auto;
    }

    .calendar-filters {
        flex-direction: row;
        align-items: stretch;
    }

    .filter-select,
    .filter-input {
        min-width: auto;
        font-size: 11px;
        height: 40px;
    }

    .event-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-location {
        text-align: left;
        margin-top: 5px;
    }

    .visitor_card {
        max-width: 48.9%;
    }

}








@media (max-width:767px) {
    a.wp-logout-button {
        padding: 3px 10px !important;
        font-size: 12px !important;
    }

    .sidebar-nav .nav-link {
        padding: 7px 10px;
        font-size: 14px;
    }

    /* 	.sidebar-nav ul {
    padding-bottom: 15px;
} */
    .section-header h2 {
        font-size: 22px !important;
    }

    .calendar-filters {
        gap: 5px;
        padding: 0 10px;
    }

    .filter-group label {
        font-size: 12px;
        margin: 0;
    }

    .table-responsive br {
        display: block !important;
    }

    .visitors-table {
        width: 1200px;
        margin: 0;
    }

    #filter-form {
        justify-content: flex-start !important;
        flex-direction: column-reverse;
        align-items: flex-start !important
    }

    #host-filter-form {
        justify-content: flex-start !important;
        flex-direction: column-reverse;
        align-items: flex-start !important
    }

    #filter-form input[type="text"] {
        padding: 0 10px;
        font-size: 14px;
    }

    #filter-form input[type="text"],
    #filter-form select {
        min-width: 100%;
        max-width: 100%;
    }

    #host-filter-form input[type="text"],
    #host-filter-form select {
        min-width: 100%;
        max-width: 100%;
    }

    #filter-form select {
        height: 50px;
    }

    .filter-text {
        display: none;
    }

    #zigzagpol-forgot-password {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .visitor_card.full-card.visitor-header {
        display: flex;
        align-items: center;
        max-width: 100%;
        width: 100%;
        flex-direction: column;
    }

    .visitor_card.full-card.visitor-header>div {
        width: 100%;
        max-width: 100%;
    }

    .visitor_card {
        max-width: 100%;
    }

    .info-section.contact-wrapper {
        display: flex;
        gap: 0;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .contact-info {
        width: 100%;
        max-width: 100%;
    }

    .visitor_card {
        padding: 15px;
    }

    .visitor_card h4 {
        font-size: 16px !important;
    }

    .visitor_card p {
        font-size: 12px;
    }

    .visitor-back_button>div a {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .month-mini h4 {
        font-size: 16px !important;
        margin: 0 !important;
        font-weight: 700;
    }

    .yearly-view {
        grid-template-columns: 1fr 1fr;
        padding: 0;
    }

    .calendar-filters>div {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .calendar-filters {
        flex-direction: column;
    }

}