/* Common CSS Start */
a,
a:active,
a:focus
{
    text-decoration: none;
}


/* .wddna-alert::before {
    margin-right: 8px;
    font-weight: bold;
} */
/* .wddna-d-none{
    display:none;
} */

/* Recurring Invoice Status */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #e6f7ee;
    color: #1aa260;
}

.status-inactive {
    background: #f1f3f4;
    color: #5f6368;
}

.status-stopped {
    background: #fdecea;
    color: #d93025;
}

.status-expired {
    background: #fff4e5;
    color: #f29900;
}

.status-auto {
    background: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.status-manual {
    background: #fff4e5;
    color: #ff9800;
    border: 1px solid #ff9800;
}


.wddna-invalid-feedback {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Row container */
.wddna-row {
    display: flex;
    gap: 20px; /* space between two columns */
    flex-wrap: wrap; /* wrap on smaller screens */
    margin-bottom: 12px;
}

/* Each column */
.wddna-col {
    display: flex;
    align-items: center;
    flex: 1; /* takes equal space */
    min-width: 250px; /* ensures wrapping nicely */
}

/* Label */
.wddna-col .wddna-field-label {
    width: 175px;
    text-align: right;
    font-weight: 600;
    color: #0a1032;
    /* margin-right: 20px; */
    line-height: 20px;
    padding: 6px 20px 6px 15px;
    word-break: break-word;
    max-width: 175px;
    font-size: 14px;
}

/* Value */
.wddna-col .wddna-field-data {
    width: calc(100% - 175px);
    word-break: break-all;
    padding: 6px 10px;
    line-height: 20px;
    
}

.wddna-col .wddna-field-data pre {
    padding: 0px;
    margin: 0px;
    font-size: 16px;
    color: #162C41;
    font-weight: 200;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: transparent;
    border: none;
    word-break: break-word;
}

/* Global input style for all .wddna-field-data */
.wddna-field-data .wddna-input {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    line-height: 20px;
    box-sizing: border-box;
}

/* Readonly field style */
.wddna-readonly-field {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #cbd5e1;
    cursor: not-allowed;
}

.wddna-readonly-field:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid #cbd5e1;
}

/* Message Card */
.wddna-message-card{
    margin-top: 20px;
}

/* Title */
.wddna-message-title{
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 5px;
}

/* Divider line */
/* .wddna-message-divider{
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0 15px;
} */

/* Message content */
.wddna-message-content{
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
    white-space: normal;
    word-break: break-word;
}

/* Optional: highlight long content */
.wddna-message-content{
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar (optional nice touch) */
.wddna-message-content::-webkit-scrollbar{
    width: 6px;
}

.wddna-message-content::-webkit-scrollbar-thumb{
    background: #cbd5e1;
    border-radius: 10px;
}

/* Common CSS End */

/* DataTable Css start */
/* Wrapper */
.wddna-table-wrapper {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wddna-table-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header (title + button) */
.wddna-table-header h5 {
    font-weight: 600;
    color: #2c3e50;
    width: auto;
}

/* Base Button */
.wddna-add-btn {
    background-color: #1e40af;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.25);
    transition: all 0.2s ease-in-out;
}

/* Icon inside button */
.wddna-add-btn i {
    font-size: 13px;
}

/* Hover */
.wddna-add-btn:hover {
    background-color: #1a3699; /* slightly darker */
    color: #fff;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.35);
}

/* Active (click) */
.wddna-add-btn:active {
    transform: scale(0.97);
}

/* Focus (accessibility) */
.wddna-add-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.3);
}

/* Table */
.wddna-table {
    width: 100%;
    border-collapse: collapse;
}

/* Table Head */
.wddna-table thead th {
    background-color: #D9E4F2;
    color: #1e40af;
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dbe3ec;
}

.wddna-table thead th:first-child {
    border-top-left-radius: 8px;
}
.wddna-table thead th:last-child {
    border-top-right-radius: 8px;
}

/* Table Body */
.wddna-table tbody td {
    padding: 12px!important;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

/* Row Hover */
.wddna-table tbody tr:hover {
    background-color: #f9fbfd;
}

/* Links inside table */
.wddna-table .wddna-details-link-btn{
    color: #0d6efd;
    font-weight: 400!important;
}

/* Wrapper */
.wddna-table .wddna-action-btns{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Common icon style */
.wddna-table .wddna-action-btns .wddna-edit-btn,
.wddna-table .wddna-action-btns .wddna-set-primary-btn,
.wddna-table .wddna-action-btns .wddna-delete-btn{
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Edit */
.wddna-edit-btn {
    color: #1e40af;
}

.wddna-edit-btn:hover {
    color: #162f8c;
    transform: scale(1.15);
}

/* Delete */
.wddna-delete-btn {
    color: #dc2626;
}

.wddna-delete-btn:hover {
    color: #b91c1c;
    transform: scale(1.15);
}

/* Details */
.wddna-details-btn{
    color: #0d6efd;
}

.wddna-details-btn:hover{
    color: #0a58ca;
    transform: scale(1.15);
}

/* primary */
.wddna-set-primary-btn:hover {
    transform: scale(1.15);
}

/* Button spacing fix */
.wddna-table .btn {
    padding: 4px 8px;
}

.dataTables_length,
.dataTables_filter{
    margin-bottom: 20px;
}

/* DataTable Search Input */
.dataTables_filter {
    float: left; /* Move to top left if needed */
    margin-bottom: 10px;
    position: relative;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 6px 10px 6px 45px;
    border-radius: 6px;
    border: 1px solid #D9E4F2;
    outline: none;
    width: 240px;
    margin-left: 0px;;
}

/* Magnifying Glass Icon */
.dataTables_wrapper .dataTables_filter:before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #1E40AF;
    font-size: 14px;
    pointer-events: none;
    background: #D9E4F2;
    padding: 8px 12px;
    border-radius: 6px 0px 0px 6px;
}

/* Pagination */
.dataTables_wrapper .dataTables_paginate {
    float: right;
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin-left: 2px;
    border-radius: 4px;
    color: #1e40af !important;
    cursor: pointer;
    background: #fff;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #1e40af !important;
    color: #fff !important;
    border: 1px solid #1e40af;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:after {
    content: "\f053"; /* FontAwesome left arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next:after {
    content: "\f054"; /* FontAwesome right arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    background-color: #1e40af !important;
    color: #fff !important;
}

/* DataTable Css End */

/* Full-page loader overlay */
#wddna-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
    z-index: 99999;

    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
}

/* Spinner */
.wddna-loader-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid #e5e7eb; /* light gray */
    border-top: 4px solid #3b82f6; /* blue */
    border-radius: 50%;
    animation: wddna-spin 0.8s linear infinite;
}

@keyframes wddna-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Show loader when active */
#wddna-loader-overlay.active {
    display: flex;
}


/* Login Page Css Start */

/* Wrapper */
.login-page.wddna-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    padding: 100px 0px;
}

/* Card */
.login-page .wddna-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Header */
.login-page .wddna-login-header h3 {
    font-weight: 600;
}

.login-page .wddna-login-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Form */
.login-page .wddna-form-group {
    margin-bottom: 18px;
}

.login-page .wddna-form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input Group */
.login-page .wddna-input-group {
    position: relative;
}

.login-page .wddna-input-group i.fa-lock,
.login-page .wddna-input-group i.fa-user {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
}

.login-page .wddna-input-group input {
    width: 100%;
    padding: 10px 38px 10px 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.login-page .wddna-input-group input:focus {
    border-color: #6366f1;
    outline: none;
}

/* Toggle */
.login-page .wddna-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

/* Extra row */
.login-page .wddna-extra-options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Button */
.login-page .wddna-btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e40af;
    color: #fff;
}

/* Footer */
.login-page .wddna-login-footer {
    margin-top: 15px;
}
.login-page .login-error {
    text-align: center;
}

/* ✅ FIXED (important) */
.login-page .wddna-invalid-feedback {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Login Page Css End */

/* Signup Page Css Start */
/* Wrapper */
.signup-page.wddna-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
}

/* Card */
.signup-page .wddna-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Header */
.signup-page .wddna-login-header h3 {
    font-weight: 600;
}

.signup-page .wddna-login-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Form */
.signup-page .wddna-form-group {
    margin-bottom: 18px;
}

.signup-page .wddna-form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input Group */
.signup-page .wddna-input-group {
    position: relative;
}

.signup-page .wddna-input-group i.fa-envelope,
.signup-page .wddna-input-group i.fa-lock {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
}

.signup-page .wddna-input-group input {
    width: 100%;
    padding: 10px 38px 10px 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.signup-page .wddna-input-group input:focus {
    border-color: #6366f1;
    outline: none;
}

.signup-page .signup-error {
    text-align: center;
}
.signup-page .wddna-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

/* Button */
.signup-page .wddna-btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e40af;
    color: #fff;
}

/* Footer */
.signup-page .wddna-login-footer {
    margin-top: 15px;
}

/* Validation */
.signup-page .wddna-invalid-feedback {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Signup Page Css end */

/* Forgot Password Page CSS Start */

/* Wrapper */
.forgot-password-page.wddna-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
}

/* Card */
.forgot-password-page .wddna-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Header */
.forgot-password-page .wddna-login-header h3 {
    font-weight: 600;
}

.forgot-password-page .wddna-login-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Form */
.forgot-password-page .wddna-form-group {
    margin-bottom: 18px;
}

.forgot-password-page .wddna-form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input Group */
.forgot-password-page .wddna-input-group {
    position: relative;
}

.forgot-password-page .wddna-input-group i.fa-envelope {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
}

.forgot-password-page .wddna-input-group input {
    width: 100%;
    padding: 10px 38px 10px 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.forgot-password-page .wddna-input-group input:focus {
    border-color: #6366f1;
    outline: none;
}

/* Button */
.forgot-password-page .wddna-btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e40af;
    color: #fff;
}

/* Footer */
.forgot-password-page .wddna-login-footer {
    margin-top: 15px;
    text-align: center;
}

/* Validation */
.forgot-password-page .wddna-invalid-feedback {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Success/Error messages */
.forgot-password-page .forgot-error,
.forgot-password-page .forgot-success {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* Forgot Password Page CSS End */


/* Reset Password Page CSS Start */

/* Wrapper */
.reset-page.wddna-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
    min-height: 100vh;
    background: #f3f4f6;
}

/* Card */
.reset-page .wddna-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Header */
.reset-page .wddna-login-header h3 {
    font-weight: 600;
}

.reset-page .wddna-login-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Form */
.reset-page .wddna-form-group {
    margin-bottom: 18px;
}

.reset-page .wddna-form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input Group */
.reset-page .wddna-input-group {
    position: relative;
}

.reset-page .wddna-input-group input {
    width: 100%;
    padding: 10px 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.reset-page .wddna-input-group input:focus {
    border-color: #6366f1;
    outline: none;
}

/* Button */
.reset-page .wddna-btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e40af;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

/* Error/Validation */
.reset-page .wddna-invalid-feedback {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

.reset-page .reset-error {
    text-align: center;
    color: red;
    margin-bottom: 10px;
}

/* Footer */
.reset-page .wddna-login-footer {
    margin-top: 15px;
    text-align: center;
}
/* Reset Password Page CSS End */


/* Form CSS Start */
/* ======================= Card Section ======================= */
.wddna-form-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.wddna-form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 5px;
}

/* ======================= Row & Column ======================= */
.wddna-form-row {
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
    margin-bottom: 12px;
    margin-right: -15px;
    margin-left: -15px;
}

/* 50% width column */
.wddna-form-col-50 {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    padding:15px;
}

/* Label */
.wddna-form-field-label {
    font-weight: 600;
    font-size: 14px;
    color: #0a1032;
    margin-bottom: 5px;
}

/* Input */
.wddna-form-input {
    width: 100%;
    padding: 10px 10px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    line-height: 22px;
    box-sizing: border-box;
}

/* Value */
.wddna-form-text {
    display: block;
    padding: 8px 10px;
    color: #111;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
}

/* Submit Button */
.wddna-form-add-btn,
.wddna-form-edit-btn {
    background: #1e40af;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wddna-form-add-btn:hover {
    background: #1c3bb3;
}

.wddna-form-buttons{
    float:right;
}

/* Cancel Button */
.wddna-form-cancel-btn {
    background: #fff;
    color: #1e40af;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #1e40af;
    cursor: pointer!important;
}

.wddna-form-cancel-btn:hover {
    background: #d1d5db;
}
.wddna-form-required {
    color: red;
    margin-left: 2px;
}
/* Form CSS End */



/* Member Page Css start */

.wddna-filter-bar {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.wddna-filter-group {
    display: flex;
    flex-direction: column;
}


.wddna-filter-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.wddna-filter-btn:hover {
    opacity: 0.9;
}

.wddna-reset-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.wddna-reset-btn:hover {
    background: #e5e7eb;
}

.wddna-filter-group .select2.select2-container{
    height: 44px;
}

.wddna-filter-group .select2-container .select2-selection--single{
    height: 100%;
}

.wddna-filter-group .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
}

.wddna-filter-group .select2-container .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

.wddna-filter-group .select2-container .select2-selection--single .select2-selection__clear {
    height: 42px;
}

/* Member Page Css End */



/* Dashboard Page Css start */

/* ===============================
   BASE LAYOUT
================================= */
.wddna-dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* ===============================
   ALERT
================================= */
.wddna-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    /* margin: 15px 0; */
    border: 1px solid transparent;
    line-height: 1.4;
}

.wddna-alert-danger {
    background: #fff5f5;
    border-color: #f5c2c7;
    color: #842029;
}

/* ===============================
   CARD
================================= */
.wddna-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.wddna-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* ===============================
   CARD HEADER
================================= */
.wddna-card-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    padding: 16px 20px;
}

.wddna-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* ===============================
   CARD BODY
================================= */
.wddna-card-body {
    padding: 20px;
}

/* ===============================
   LINK GRID (TOP CARD)
================================= */
.wddna-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    list-style: none;
    padding:0px 10px;
    margin: 0;
}

.wddna-link-grid li a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    /* background: #f8f9fb; */
    padding: 5px 0px;
    border-radius: 10px;
    color: #007bff;
    font-weight: 500;
    /* transition: all 0.25s ease; */
}


/* ===============================
   TEXT CONTENT
================================= */
.wddna-description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    /* margin-bottom: 12px; */
    margin: 0;
    padding:0px 10px;
}


/* ===============================
   TABLET (≤768px)
================================= */
@media (max-width: 768px) {

    .wddna-dashboard-container {
        gap: 18px;
    }

    .wddna-card-header {
        padding: 14px 16px;
    }

    .wddna-card-header h3 {
        font-size: 16px;
    }

    .wddna-form-section-title {
        font-size: 16px;
    }

    .wddna-card-body {
        padding: 16px;
    }

    /* 2 column grid */
    .wddna-link-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wddna-link-grid li a {
        padding: 5px 0px;
        font-size: 14px;
    }

    .wddna-table tbody td {
        border-bottom: 1px solid #000;
    }

}

/* ===============================
   MOBILE (≤425px)
================================= */
@media (max-width: 425px) {

    .wddna-dashboard-container {
        gap: 14px;
    }

    .wddna-card {
        border-radius: 10px;
    }

    .wddna-card-header {
        padding: 12px 14px;
    }

    .wddna-card-header h3 {
        font-size: 15px;
        line-height: 1.4;
    }

    .wddna-form-section-title {
        font-size: 16px;
    }

    .wddna-card-body {
        padding: 14px;
    }

    /* Single column for better touch UX */
    .wddna-link-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wddna-link-grid li a {
        padding: 12px 0px;
        font-size: 14px;
        /* border-radius: 8px; */
    }

    .wddna-link-grid li a i {
        font-size: 14px;
    }

    /* Text */
    .wddna-description {
        font-size: 13px;
    }
}

/* Dashboard Page Css End */


/* Profile Page Css start */
.wddna-profile-container {
    max-width: 100%;
    /* margin: 20px auto;
    padding: 0 10px; */
}

.wddna-profile-accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.wddna-profile-accordion-header {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #fff;
    cursor: pointer;
}

.wddna-profile-accordion-header i {
    transition: transform 0.3s ease;
    margin: 10px;
    font-size: 16px;
}

.wddna-profile-accordion-header .wddna-section-header-title {
    line-height: 20px;
    float: left;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.wddna-profile-accordion-item.active .wddna-profile-accordion-header i {
    transform: rotate(180deg);
}

.wddna-profile-accordion-body {
    display: none;
    padding: 15px;
    background: #fff;
}

.wddna-profile-accordion-body .button-danger {
    background: #d93025;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #d93025;
}

.wddna-profile-accordion-body .button-danger:hover {
    background: #b1271b;
    border-color: #b1271b;
}

.wddna-profile-accordion-body  .button-resume {
    background: #1aa260;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #1aa260;
}

.wddna-profile-accordion-body .button-resume:hover {
    background: #148a50;
    border-color: #148a50;
}

.wddna-profile-accordion-body .wddna-action-btn {
    margin-left: 10px;
}



/* Profile Page Css end */


/* Membership Settings Page Css Start */
/* =========================
   BUTTON STYLES
========================= */
.wddna-membership-settings-page .wddna-action-btn {
    font-size: 12px ;
    padding: 4px 10px ;
    height: auto ;
    line-height: 1.4 ;
    border-radius: 4px ;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}


/* Preference toggle button */
.wddna-membership-settings-page .wddna-toggle-preference {
    background: #007cba;
    border: 1px solid #007cba;
    color: #fff;
}

.wddna-membership-settings-page .wddna-toggle-preference:hover {
    background: #005a87;
}

/* Monthly toggle button */
.wddna-membership-settings-page .wddna-update-cc,
.wddna-membership-settings-page .wddna-switch-monthly,
.wddna-membership-settings-page .wddna-switch-annual {
    background: #007cba;
    border: 1px solid #007cba;
    color: #fff;
}

.wddna-membership-settings-page .wddna-update-cc:hover,
.wddna-membership-settings-page .wddna-switch-annual:hover,
.wddna-membership-settings-page .wddna-switch-monthly:hover {
    background: #005a87;
}

/* Membership Settings Page Css end */


/* Vacation Page Css Start */
.wddna-vacations-list-page .wddna-vacation-info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.wddna-vacations-list-page .wddna-vacation-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.wddna-vacations-list-page .wddna-vacation-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

.wddna-vacations-list-page .wddna-vacation-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #1e40af; /* 🔥 replace with branding color */
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.wddna-vacations-list-page .wddna-vacation-btn:hover {
    background: #1d3da8; /* darker shade */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

.wddna-vacations-list-page .wddna-vacation-btn:active {
    transform: translateY(0);
}

/* vacation Page Css end */

/* Contact Officer Page Css start */
.wddna-contact-officer-list-page .wddna-contact-officer-info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.wddna-contact-officer-list-page .wddna-contact-officer-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.wddna-contact-officer-list-page .wddna-contact-officer-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

.wddna-contact-officer-list-page .wddna-contact-officer-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #1e40af; /* 🔥 replace with branding color */
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.wddna-contact-officer-list-page .wddna-contact-officer-btn:hover {
    background: #1d3da8; /* darker shade */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

.wddna-contact-officer-list-page .wddna-contact-officer-btn:active {
    transform: translateY(0);
}



/* Contact Officer Page Css end */

/* Responsive */
@media (max-width: 768px) {
    .login-page .wddna-login-card {
        padding: 25px;
    }

    .signup-page .wddna-login-card {
        padding: 25px;
    }

    .forgot-password-page .wddna-login-card {
        padding: 25px;
    }

    .reset-page .wddna-login-card {
        padding: 25px;
    }

    .wddna-profile-accordion-header .wddna-section-header-title {
        font-size: 18px;
    }

    .wddna-table-header h5{
        font-size: 16px;;
    }

    .wddna-row {
        flex-direction: column;
        gap: 15px;
    }
    .wddna-col {
        min-width: 100%;
    }
    .wddna-form-col-50 {
        flex: 0 0 100%;
    }

    /* vacation Page Css Start */
    .wddna-vacations-list-page .wddna-vacation-info-card {
        padding: 20px;
        border-radius: 12px;
    }

    .wddna-vacations-list-page .wddna-vacation-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .wddna-vacations-list-page .wddna-vacation-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .wddna-vacations-list-page .wddna-vacation-btn {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
        font-size: 14px;
    }
    /* vacation Page Css end */

    /* contact-officer Page Css Start */
    .wddna-contact-officer-list-page .wddna-contact-officer-info-card {
        padding: 20px;
        border-radius: 12px;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-btn {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
        font-size: 14px;
    }
    /* contact-officer Page Css end */



}

@media (max-width: 425px) {

    .login-page.wddna-login-wrapper,
    .signup-page.wddna-login-wrapper,
    .reset-page.wddna-login-wrapper,
    .forgot-password-page.wddna-login-wrapper {
        padding: 40px 0px;
    }

    .login-page .wddna-login-card {
        padding: 20px;
        max-width: 350px;
    }
    

    .signup-page .wddna-login-card {
        padding: 20px;
        max-width: 350px;
    }

    .forgot-password-page .wddna-login-card {
        padding: 20px;
        max-width: 350px;
    }

    .reset-page .wddna-login-card {
        padding: 20px;
        max-width: 350px;
    }

    .dataTables_length{
        text-align: left!important;
    }

    .dataTables_info{
        text-align: center!important;
    }

    .dataTables_paginate {
        float: none!important;
    }
    .dataTables_wrapper .dataTables_filter input{
        width: 300px!important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button{
        font-size: 12px;
    }

    .wddna-filter-group {
        width: 100%!important;
    }

    .wddna-filter-group .select2.select2-container {
        width: 100%!important;
    }

    .wddna-table-header{
        display: block;
        flex-direction: column;
    }

    .wddna-table-header h5{
        font-size: 16px;;
    }

    .wddna-table-header .wddna-add-btn{
        margin-top: 15px;
    }

    .wddna-row {
        gap: 5px;
    }

    .wddna-col .wddna-field-label {
        font-size: 12px;
        width: 120px;
        text-align: left;
        max-width: 120px;
    }

    .wddna-col .wddna-field-data {
        width: calc(100% - 120px);
    }

    .wddna-col .wddna-field-data pre {
        font-size: 12px;
    }
    
    .wddna-col .wddna-field-data span {
        font-size: 12px;
    }

    .wddna-form-col-50 {
        flex: 0 0 100%;
    }


    /* Profile Page Css end */
    .wddna-profile-accordion-header {
        font-size: 14px;
        padding: 12px;
    }

    .wddna-profile-accordion-header .wddna-section-header-title {
        font-size: 16px;
    }

    .wddna-profile-accordion-body .wddna-action-btn.wddna-toggle-recurring {
        margin-left: 10px;
        margin-top: 0px;
    }

    .wddna-profile-accordion-body .wddna-action-btn.wddna-toggle-preference {
        margin-left: 0px;
        margin-top: 10px;
    }


    .wddna-profile-accordion-body .wddna-action-btn.wddna-switch-monthly {
        margin-left: 0px;
        margin-top: 10px;
    }

    .wddna-profile-accordion-body .wddna-action-btn.wddna-switch-annual {
        margin-left: 0px;
        margin-top: 10px;
    }
    /* Profile Page Css end */


    /* Vacation Page Css Start */
    .wddna-vacations-list-page .wddna-vacation-info-card {
        padding: 16px;
        border-radius: 10px;
    }

    .wddna-vacations-list-page .wddna-vacation-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .wddna-vacations-list-page .wddna-vacation-text {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .wddna-vacations-list-page .wddna-vacation-btn {
        width: 100%;
        display: block;
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    /* Vacation Page Css end */

    /* contact-officer Page Css Start */
    .wddna-contact-officer-list-page .wddna-contact-officer-info-card {
        padding: 16px;
        border-radius: 10px;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-text {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .wddna-contact-officer-list-page .wddna-contact-officer-btn {
        width: 100%;
        display: block;
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    /* Vacation Page Css end */
}

@media (max-width: 375px) {
    .dataTables_wrapper .dataTables_filter input {
        width: 270px !important;
    }
    .wddna-profile-accordion-body .wddna-action-btn.wddna-toggle-preference {
        margin-left: 0px;
        margin-top: 10px;
    }


    .wddna-profile-accordion-body .wddna-action-btn.wddna-switch-monthly {
        margin-left: 0px;
        margin-top: 10px;
    }

    .wddna-profile-accordion-body .wddna-action-btn.wddna-switch-annual {
        margin-left: 0px;
        margin-top: 10px;
    }
    
}