/* Base Form Styles */
    .form-group.error input,
    .form-group.error select,
    .form-group.error textarea {
        border: 1px solid red;
    }

    .error-text {
        color: red;
        font-size: 13px;
        margin-top: 5px;
    }
    #submission-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.mce-content-body ul,
.mce-content-body ol {
  margin-left: 55px !important;
  padding-left: 15px !important;
}
.mce-content-body ul li::marker {
  font-size: 22px !important;
  color: #000 !important;
}
.mce-content-body ol li::marker {
  font-size: 18px !important;
  font-weight: 700 !important;
}


#submission-overlay .submission-content {
    background: #ffffff;
    color: #222;
    padding: 50px 40px;
    width: 90%;
    max-width: 500px;
    border-radius: 0; /* No rounded corners */
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

#submission-overlay .submission-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



    .toggle-header {
      display: flex;
      align-items: center;
      padding: 15px 0;
      cursor: pointer;
      font-size: 18px;
      font-weight: 600;
      position: relative;
    }

    .toggle-header:hover {
      color: #0073aa;
    }

    .toggle-icon {
      font-size: 20px;
      margin-right: 12px;
      width: 20px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .toggle-content {
      padding: 0 0 15px 32px;
      display: none;
      font-size: 16px;
      color: #444;
      line-height: 1.6;
    }

    .active .toggle-content {
      display: block;
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eee;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons .icon:hover {
    background-color: #333;
    color: #fff;
}

.social-icons .icon.instagram { background-color: #E1306C; color: #fff; }
.social-icons .icon.twitter { background-color: #1DA1F2; color: #fff; }
.social-icons .icon.facebook { background-color: #3b5998; color: #fff; }
.social-icons .icon.linkedin { background-color: #0077b5; color: #fff; }
/* Blog Post Card */
.blog-posts-section {
    margin: 20px 0;
    padding: 0 15px;
}

.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.card-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-placeholder {
    height: 180px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #999;
}

.card-content {
    padding: 15px;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.card-author {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.card-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.view-all-link {
    text-decoration: none;
    color: blue;
    font-weight: bold;
}

.view-all-link:hover {
    text-decoration: none; /* underline removed */
}

/* Post Type Label */
.post-type-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 5px;
    text-decoration: none; /* underline removed */
}

.type-post {
    background-color: #2e7d32;
    color: #ffffff;
}

.type-news {
    background-color: #fff3e0;
    color: #e65100;
}

.type-award {
    background-color: #f3e5f5;
    color: #6a1b9a;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-posts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-posts-container {
        grid-template-columns: 1fr;
    }
}
.worldone-form-container {
    margin: 0 auto;
    padding: 20px;
    font-family: "Roboto", Sans-serif;
    color: #000;
    line-height: 1.5;
}

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

.worldone-form-header h2 {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.estimated-time {
    color: #EC3E14;
    font-size: 25px;
    margin-bottom: 25px;
}

/* Progress Bar Styles */
.worldone-form-progress {
    height: 30px;
    background: #233D4F;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #FFA934;
    width: 33%;
    position: relative;
    transition: width 0.4s ease;
}

.progress-steps {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 90px;
    box-sizing: border-box;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    position: relative;
}

.progress-step.active {
    background: #2a5bd7;
    color: white;
}

.progress-step.completed {
    background: #2a5bd7;
    color: white;
}

.progress-step.completed::after {
    content: "✓";
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
}

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

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2a5bd7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(42, 91, 215, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    color: #000;
    font-size: 14px;
}

/* Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

.form-navigation button {
    padding: 12px 24px;
    background: #233D4F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    flex: 1;
    max-width: 200px;
    text-align: center;
    transition: background-color 0.3s;
}

.form-navigation button:hover {
    background: #1a2f3d;
}

.form-navigation .prev-btn {
    background: #f0f0f0;
    color: #000;
}

.form-navigation .prev-btn:hover {
    background: #e0e0e0;
}

.form-navigation .submit-btn {
    background: #10b981;
}

.form-navigation .submit-btn:hover {
    background: #0d9e6e;
}

/* Notice Box */
.form-notice {
    background: #f8f8f8;
    padding: 15px;
    border-left: 3px solid #2a5bd7;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.form-notice h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2a5bd7;
    font-size: 16px;
}

.form-notice p {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.5;
}

/* Select2 Customization */
/* Improved Multi-Select Section Styling with !important */
.form-group .select2-container--default .select2-selection--multiple {
    margin-top: 0 !important;
    padding: 2px 5px !important;
    min-height: 42px !important;
}

.form-group .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.form-group .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 2px !important;
    padding: 2px 6px !important;
    line-height: 1.3 !important;
}

.form-group small.form-text {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}

/* For the textarea that follows */
.form-group textarea {
    margin-top: 5px !important;
}

/* Additional important spacing fixes */
.form-group {
    margin-bottom: 15px !important;
}

.form-row {
    margin-bottom: 15px !important;
}

/* File Input */
.form-group input[type="file"] {
    padding: 8px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

/* Small Text */
.small, small {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

/* Section Headers */
.form-step h2 {
    font-size: 18px;
    color: #233D4F;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* Multi-select spacing adjustments */
.form-group .select2-container--default .select2-selection--multiple {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-navigation {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .form-navigation button {
        width: 100%;
        max-width: none;
    }
    
    .worldone-form-progress {
        height: 20px;
    }
    
    .progress-steps {
        padding: 0 40px;
    }
    
    .progress-step {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}
/* Main Form Styles */


/* Global Reset and Font */
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    color: #333;
    font-size: 16px;
}

/* Title */
.WOG-law-firm-registration-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Form Layout */
.WOG-law-firm-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.WOG-law-firm-form-group {
    flex: 1;
    min-width: 250px;
}

/* Labels */
.WOG-law-firm-label {
    display: block;
    margin: 10px 0;
    font-weight: 600;
    color: #444;
}

/* Input Fields */
.WOG-law-firm-input,
.legal-text-input,
.legal-number-input,
.legal-url-input,
.law-firm-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.WOG-law-firm-input:focus,
.legal-text-input:focus,
.legal-number-input:focus,
.legal-url-input:focus,
.law-firm-dropdown:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* File Inputs */
.WOG-law-firm-file-input,
.legal-file-input {
    width: 100%;
    padding: 8px 0;
    border: none;
    background-color: transparent;
}

/* Editor Styling */
.WOG-law-firm-wp-editor,
.wp-editor-container {
    width: 100%;
    border: 1px solid #ddd;
}

.wp-editor-tools {
    background-color: #f5f5f5;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
}

.wp-editor-container .wp-editor-tools {
    padding: 5px;
}

/* Submit Button */
.WOG-law-firm-form-submit,
.legal-form-submit {
    text-align: center;
    margin-top: 30px;
}

.WOG-law-firm-submit-button,
.legal-submit-button {
    background-color: #203406 !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px ! IMPORTANT;
    font-size: 17px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    font-weight: 600 !important;
}

.WOG-law-firm-submit-button:hover,
.legal-submit-button:hover {
     background-color: #203406 !important;
}

/* Required Indicator */
.legal-form-label[required]::after {
    content: " *";
    color: #e74c3c;
}

/* Placeholder Styling */
::placeholder {
    color: #95a5a6;
    opacity: 1;
}

/* Error Handling */
.legal-text-input.error,
.legal-number-input.error,
.legal-url-input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

input.error + .error-message {
    display: block;
}

/* Dropdown Checkbox */
.dropdown-checkbox-container {
    position: relative;
    margin-bottom: 15px;
}

.dropdown-display {
    cursor: pointer;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
}

.dropdown-checkbox-list {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    width: 100%;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-checkbox-container.active .dropdown-checkbox-list {
    display: block;
}

.search-box {
    padding: 5px;
    background: #f5f5f5;
}

.search-box input {
    width: 100%;
    padding: 5px;
}

.checkbox-options {
    padding: 5px;
}

.checkbox-options label {
    display: block;
    padding: 5px;
    cursor: pointer;
}

.checkbox-options label:hover {
    background: #f0f0f0;
}

.other-option {
    padding: 5px;
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.other-option input[type="text"] {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
}

/* Notices */
.law-firm-notice {
    padding: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    text-align: center;
}

.law-firm-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.law-firm-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Firm Selector */
.law-firm-selector {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.law-firm-selector label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #2c3e50;
}

/* Separator */
.law-firm-separator {
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
}

/* Hidden Fields */
.legal-hidden-field {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .WOG-law-firm-form-row,
    .legal-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .WOG-law-firm-form-group,
    .legal-form-group {
        min-width: 100%;
    }

    .legal-lawyer-profile-form {
        padding: 20px;
    }
}

/* TinyMCE Editor Compatibility Fixes */
.mce-top-part::before {
    box-shadow: none !important;
}

.mce-panel {
    border: 1px solid #ddd !important;
    border-bottom: none !important;
}

.mce-statusbar {
    border: 1px solid #ddd !important;
    border-top: none !important;
}


/* Firm Information Container */
.firm-info-container {

    padding: 20px;
    margin-top: 20px;
}
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    border-radius: 0 !important;
}


/* Firm Header */
.firm-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.firm-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.firm-title h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 24px;
}

.firm-tagline {
    margin: 0;
    color: #7f8c8d;
    font-style: italic;
    font-size: 16px;
}

/* Cover Image */
.firm-cover-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Firm Details */
.firm-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.firm-contact {
    flex: 1;
    min-width: 250px;
}

.firm-contact p {
    margin: 0 0 10px 0;
    color: #34495e;
    line-height: 1.6;
}

.firm-contact strong {
    color: #2c3e50;
    min-width: 100px;
    display: inline-block;
}

.firm-section {
    flex: 2;
    min-width: 300px;
}

.firm-section h4 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.firm-section p {
    color: #34495e;
    line-height: 1.7;
}

/* Lawyer Form Section */
.lawyer-form-section {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.lawyer-form-section h4 {
    margin-top: 0;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .firm-header {
        flex-direction: column;
        text-align: center;
    }
    
    .firm-profile-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .firm-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .law-firms-container {
        padding: 15px;
    }
}

/* Animation for Form Toggle */
#new-firm-form,
#selected-firm-info {
    animation: fadeIn 0.5s ease;
}

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

/* Link Styles */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Loading State */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* loyer-registration-from*/
:root {
  --primary-color: #3498db;
  --primary-hover: #2980b9;
  --text-color: #2c3e50;
  --light-text: #7f8c8d;
  --border-color: #e0e0e0;
  --error-color: #e74c3c;
  --success-color: #27ae60;
  --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --transition: all 0.2s ease;
}

/* Base Form Styles */
.legal-lawyer-profile-form {
  width: 100%;
  margin: 0;
  padding-top: 70px;
  font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0 auto;
  box-sizing: border-box;
}

.legal-form-title {
  color: var(--text-color);
  margin: 0 0 2rem 0;
  padding: 1rem 0;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  
  border-bottom: 1px solid var(--border-color);
}

/* Form Group Styles */
.legal-form-group {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.legal-form-label {
    font-size: 18px ! important;
    margin-top: 10px;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700 ! important;
  color: var(--text-color);
}

.legal-form-label.required::after {
  content: '*';
  color: var(--error-color);
  margin-left: 4px;
}

/* Form Layout */
.legal-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.legal-form-row .legal-form-group {
  flex: 1 0 calc(50% - 1rem);
  margin: 0 0.5rem 1rem;
  min-width: 250px;
}

/* Input Fields */
.legal-text-input,
.legal-select-input,
.legal-number-input,
.legal-url-input,
.legal-file-input,
.legal-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #fff;
  color: var(--text-color);
  box-sizing: border-box;
}

.legal-text-input:focus,
.legal-select-input:focus,
.legal-number-input:focus,
.legal-url-input:focus,
.legal-textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.legal-select-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}


.legal-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.legal-file-input::before {
  content: 'Upload File';
  display: inline-block;
  background: #203406 !important; 
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  margin-right: auto; /* This will push the button to the left */
  transition: var(--transition);
  font-size: 0.9rem;
  order: -1; /* Ensures button stays on the left */
}

/* For better hover effect with the new color */
.legal-file-input:hover::before {
  background: #e6952b; /* Slightly darker shade for hover */
}

.legal-file-input:hover::before {
  background: #FFA934;  
}

/* Submit Button */
.legal-submit-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto;
  text-align: center;
}

.legal-submit-button:hover {
  background-color: var(--primary-hover);
}

/* Messages */
.legal-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  border-left: 4px solid transparent;
}

.legal-message i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.legal-success {
  color: var(--success-color);
  background-color: rgba(39, 174, 96, 0.1);
  border-left-color: var(--success-color);
}

.legal-error {
  color: var(--error-color);
  background-color: rgba(231, 76, 60, 0.1);
  border-left-color: var(--error-color);
}

/* WP Editor Hover Styles */
.wp-editor-container:hover,
.mce-toolbar-grp:hover,
.mce-btn:hover button,
.mce-btn:hover .mce-txt,
.mce-menubtn:hover button,
.mce-menubtn:hover .mce-txt,
.mce-btn:hover {
  color: #fff !important;
  background-color: #233D4F !important;
  border-color: #233D4F !important;
}

/* Individual button hover states */
.mce-btn:hover {
  background-color: #233D4F !important;
}

/* Toolbar button hover */
.mce-btn:hover button {
  color: #fff !important;
}

/* Menu button hover */
.mce-menubtn:hover .mce-caret {
  color: #fff !important;
}

/* Active state */
.mce-btn.mce-active:hover {
  background-color: #1a2f3d !important;
}

/* Toolbar group hover */
.mce-toolbar-grp:hover {
  background-color: #f5f7f9 !important;
  border-bottom-color: #233D4F !important;
}

/* Status bar hover */
.mce-statusbar:hover {
  border-top-color: #233D4F !important;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-form-row .legal-form-group {
    flex: 1 0 100%;
    margin: 0 0 1rem 0;
  }
  
  .legal-form-title {
    font-size: 1.5rem;
    padding: 1rem;
  }
  
  .legal-submit-button {
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* Firm Check Indicator */
.legal-firm-check {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.legal-firm-check.available {
  color: var(--success-color);
}

.legal-firm-check.taken {
  color: var(--error-color);
}

.legal-firm-check i {
  margin-right: 0.5rem;
}





/* our professional */
/* Professional Directory Main Container */
.woa-professional-directory {
    font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 15px;
}

/* Search Container */
.woa-search-container {
    font-family: 'Inter', 'Roboto', sans-serif;
    width: 100%;
    background-color: #1a3344;
    margin: 0 auto 30px;
}

/* Search Form Layout */
.woa-search-form {
    display: block;
    width: 100%;
}

.woa-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.woa-search-field,
.woa-search-field-1 {
    flex: 1;
    min-width: 200px;
    width: 100%;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.woa-search-field label,
.woa-search-field-1 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #ffffff;
    font-size: 13px;
}

.woa-select-style,
.woa-search-field input[type="text"],
.woa-multi-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

/* Search Button */
.woa-search-btn {
    background: #2c3e50 !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-top: 20px !important;
    transition: background 0.2s !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    width: 100%;
}

.woa-search-btn:hover {
    background: #0d2b52 !important;
}

.woa-search-icon {
    margin-right: 8px;
}

/* Alphabet Filter */
.woa-filter-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.woa-filter-label {
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 14px;
}

.woa-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.woa-alpha-filter {
    display: inline-block;
    padding: 5px 10px;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.woa-alpha-filter:hover,
.woa-alpha-filter.active {
    background: #1a3e6f;
    color: white;
}

/* Results Container */
.woa-results-container {
    margin-top: 30px;
}

.woa-initial-message,
.woa-loading,
.woa-error,
.woa-no-results {
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    color: #666;
}

/* Professional Card Container - RESPONSIVE GRID */
.woa-results-grid {
    display: grid;
    gap: 10px;
    width: 100%;
}

/* Mobile: 1 card per row (up to 767px) */
.woa-results-grid {
    grid-template-columns: repeat(1, 1fr);
}

/* Tablet: 2 cards per row (768px to 1199px) */
@media (min-width: 768px) {
    .woa-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 cards per row (1200px to 1499px) */
@media (min-width: 1200px) {
    .woa-results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop: 5 cards per row (1500px and above) */
@media (min-width: 1500px) {
    .woa-results-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Professional Card - Fixed Aspect Ratio */
.professional-card {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f9f9f9;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Image Link Container */
.professional-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Image Styles */
.professional-image-link img {
    width: 100%;
    height: 400px !important; /* from teddfw */
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Placeholder for missing images */
.professional-image.placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 50px;
}

/* Name Overlay */
.name-overlay {
    padding-bottom: 5px;
    padding-left: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* padding: 15px; */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    /* transition: opacity 0.3s ease; */
}
.woafr-contact-item span {
    display: inline-block;
    max-width: 100%;
    white-space: normal !important;
    word-break: break-all;
    line-height: 1.3;
}


.professional-card:hover .name-overlay {
    opacity: 0;
    visibility: hidden;
}

.name-overlay h3 {
    color:white;
    font-family:'Roboto', sans-serif;
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3em;
    letter-spacing: 0.3px;
}

.professional-title {
    margin: 5px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Hover Effects */
.professional-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.professional-card:hover .professional-image-link img {
    transform: none;
}

/* Hover Overlay */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 61, 79, 0.9);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    padding-top: 25px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.professional-card:hover .hover-overlay {
    opacity: 1;
}

/* Firm Card - Background grey */
.firm-card {
    position: relative;
    width: 100%;
    height: 350px;
    background: #233d4f; 
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Firm Image (logo adjustment) */
.firm-card .professional-image-link img {
    width: 100%;       /* hamesha card ke width ke barabar */
    height: auto;      /* aspect ratio maintain rahega */
    max-height: 100%;  /* card ke andar hi rahega */
    object-fit: contain;
    object-position: center;
}

.firm-card .professional-image-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* logo adjust ho jaaye bina crop ke */
    object-position: center;
}

/* Firm Placeholder (agar logo nahi ho) */
.firm-card .professional-image.placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 50px;
}


/* Contact Item Styling */
.woafr-contact-item {
    border-bottom: 1px solid rgb(226, 140, 140);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woafr-contact-item i {
    color: #FFA934;
}




/* Contact Info */
.contact-item {
    border-bottom: 1px solid #FFA934;
    margin-bottom: 12px;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-item span{
    display: inline-block;
    max-width: 100%;
    white-space: normal !important;
    word-break: break-all;
    line-height: 1.3;
}

.contact-item i {
    margin-right: 10px;
    color: #FFA934;
    width: 20px;
    text-align: center;
}

.hover-bottom h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3em;
    letter-spacing: 0.3px;
    color: white;
    font-family: 'Roboto', sans-serif;
}

.hover-bottom .professional-title {
    margin: 0;
    font-size: 15px;
    color: #ddd;
}

/* Pagination */
.woa-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.woa-page-numbers {
    display: flex;
    gap: 5px;
}

.woa-page-numbers a,
.woa-page-numbers span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.woa-page-numbers a:hover,
.woa-page-numbers span.current {
    background: #1a3e6f;
    color: white;
    border-color: #1a3e6f;
}

/* Select2 Customization */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
    min-height: 45px !important;
    background-color: #f9f9f9;
    border-radius:0px !important;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #1a3e6f;
    border: 1px solid #1a3e6f;
    color: white;
    font-size: 13px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1a3e6f;
}

/* Selected Categories Display */
.woa-selected-items-display {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.woa-selected-items-display .selected-item {
    background: #1a3e6f;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
}

/* Additional Responsive Adjustments */
@media (max-width: 767px) {
    .woa-results-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .professional-card {
        height: 400px;
    }
    
    .woa-search-row {
        flex-direction: column;
        gap: 20px;
    }

    .woa-search-field,
    .woa-search-field-1 {
        min-width: 100%;
    }
    
    .hover-overlay {
        padding: 15px;
    }

    .contact-item {
        font-size: 13px;
    }

    .hover-bottom h3 {
        font-size: 22px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .woa-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .professional-card {
        height: 400px;
    }
}

@media (min-width: 1200px) and (max-width: 1499px) {
    .woa-results-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .professional-card {
        height: 400px;
    }
}

@media (min-width: 1500px) {
    .woa-results-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    
    .professional-card {
        height: 400px;
    }
    
    .woa-professional-directory {
        max-width: 1600px;
    }
}

@media (max-width: 480px) {
    .professional-card {
        height: 400px;
    }
    
    .woa-search-container {
        padding: 15px;
    }
    
    .name-overlay h3 {
        font-size: 20px;
    }
    
    .professional-title {
        font-size: 12px;
    }
}

/*partner dashboard*/
/* Base Styles */
.woa-professionals-management {
    margin: 0 auto;
    padding: 1.25rem;
    background: #fff;
}

/* Header Section */
.woa-professionals-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.9375rem;
    border-bottom: 1px solid #eee;
}

/* Responsive header layout */
@media (min-width: 768px) {
    .woa-professionals-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.woa-professionals-header h2 {
    margin: 0;
    color: #2a4365;
    font-size: 1.5rem;
}

/* Button Styles */
.woa-add-professional-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #203406 !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.woa-add-professional-btn:hover {
    background-color: #203406 !important;
    color: white;
}

.woa-add-professional-btn i {
    margin-right: 0.5rem;
}

/* Table Styles */
.woa-professionals-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.woa-professionals-table th,
.woa-professionals-table td {
    padding: 0.75rem 0.9375rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.woa-professionals-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2a4365;
}

/* Action Links */
.woa-actions {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.woa-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woa-action-link:hover {
    transform: scale(1.1);
}

.woa-action-link.woa-edit:hover {
    color: #0073aa;
}

.woa-action-link.woa-view:hover {
    color: #17a2b8;
}

.woa-action-link.woa-approve:hover {
    color: #28a745;
}

.woa-action-link.woa-pending:hover {
    color: #ffc107;
}

.woa-action-link.woa-delete:hover {
    color: #dc3545;
}

/* Status Badges */
.woa-status-badge {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
}

.woa-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.woa-status-approved {
    background-color: #d4edda;
    color: #155724;
}

.woa-status-draft {
    background-color: #e2e3e5;
    color: #383d41;
}

.woa-status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Empty State */
.woa-no-professionals {
    padding: 1.25rem;
    text-align: center;
    background-color: #f8f9fa;
}

/* Responsive Table */
@media (max-width: 768px) {
    .woa-professionals-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .woa-actions {
        flex-wrap: nowrap;
    }
}

/* Improved hover effects */
.woa-professionals-table tr {
    transition: background-color 0.2s ease;
}

.woa-professionals-table tr:hover {
    background-color: #f8fafc;
}

.woa-dashboard-container {
    margin: 0 auto;
    background: linear-gradient(135deg, #0a1929 0%, #152535 100%);
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Styles */
.woa-dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    /* border-bottom: 1px solid #e0e6ed; */
}

.woa-header-left {
    flex: 1;
    min-width: 200px;
}

.woa-header-right {
    margin-left: auto;
}

.woa-dashboard-header h1 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1a365d;
    letter-spacing: -0.5px;
}

.woa-user-email {
    color: #192d4a;

}



/* Dashboard Layout */
.woa-dashboard-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .woa-dashboard-content {
        flex-direction: row;
    }
}

/* Sidebar Styles */
.woa-sidebar {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .woa-sidebar {
        width: 90%;
        flex-shrink: 0;
    }
}

/* Action Buttons */
.woa-action-btn,
.woa-submit-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #233D4F !important;
    border-left: 4px solid #233D4F !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.woa-action-btn:hover,
.woa-submit-btn:hover {
    background: #233D4F !important;
    opacity: 0.95;
    transform: translateY(-2px);
}

.woa-action-btn i,
.woa-submit-btn i {
    font-size: 16px;
}

/* Specific Buttons */
.woa-add-firm-btn,
.woa-edit-firm-btn,
.woa-view-firm-btn,
.woa-add-lawyer-btn,
.woa-account-btn {
    background: #233D4F !important;
    border-left: 4px solid #233D4F !important;
}

/* Content Area */
.woa-main-content {
    flex-grow: 1;
    background: #f8fafc;
    padding: 25px;
    border: 1px solid #e2e8f0;
    margin-left: 22px;
}

.woa-no-firm-notice,
.woa-welcome-message {
    padding: 25px;
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.woa-no-firm-notice h3,
.woa-welcome-message h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
}

.woa-no-firm-notice p,
.woa-welcome-message p {
    margin: 0;
    line-height: 1.6;
    color: #718096;
}

/* Account Section */
.woa-account-section {
    margin-top: 25px;
    padding: 25px;
    background: white;
    border: 1px solid #e2e8f0;
}

.woa-account-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.woa-form-group {
    margin-bottom: 20px;
}

.woa-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.woa-form-group input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    transition: border-color 0.3s ease, background 0.3s ease;
    background: #f8fafc;
}

.woa-form-group input:focus {
    border-color: #4299e1;
    outline: none;
    background: white;
}

/* Password Message */
.woa-password-message {
    padding: 15px;
    margin: 15px 0;
    display: none;
}

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

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

.woa-password-message i {
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .woa-dashboard-header h1 {
        font-size: 24px;
    }

    .woa-main-content,
    .woa-no-firm-notice,
    .woa-welcome-message,
    .woa-account-section {
        padding: 20px;
    }
}


.custom-login-wrapper {
    display: flex;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

.login-left {
    flex: 60%;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size: cover;
    background-position: center;
}

.login-right {
    flex: 40%;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding-top: 100px; 
    background: #f5f5f5;
    padding: 40px;
}

.login-box {
    background: #fff;
    padding: 38px;
    border-radius: 0;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 320px;
    text-align: left;
}

.login-box label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.login-box .button-primary {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0;
}

.login-box .button-primary:hover {
    background: #2c3e50;
}

.login-links {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.toggle-password {
    font-size: 16px;
    user-select: none;
}

.login-link{
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.login-link:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.register-text {
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .custom-login-wrapper {
        flex-direction: column;
    }
    .login-left, .login-right {
        flex: 100%;
    }
    .login-right {
        padding-top: 40px;
        align-items: center;
    }
}


/* blog css */
.woa-blog-container-post {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    }
    .woa-toggle-form-btn {
        background-color: #3498db;
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        margin-bottom: 20px;
        transition: background-color 0.3s;
    }
    .woa-toggle-form-btn:hover {
        background-color: #2980b9;
    }
    .woa-form-container {
        display: none;
        margin-bottom: 30px;
        border: 1px solid #ddd;
        padding: 20px;
        border-radius: 4px;
        background: #f9f9f9;
    }
    .woa-posts-table {
        width: 113%;
        border-collapse: collapse;
        margin-top: 20px;
    }
    .woa-posts-table th, 
    .woa-posts-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
    .woa-posts-table th {
        background-color: #f2f2f2;
        font-weight: 500;
    }
    .woa-posts-table tr:hover {
        background-color: #f5f5f5;
    }
    .woa-form-title {
        margin-bottom: 25px;
        color: #2c3e50;
        font-size: 1.5em;
    }
    .woa-form-group {
        margin-bottom: 20px;
    }
    .woa-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #2c3e50;
    }
    .woa-form-group input[type="text"],
    .woa-form-group select,
    .woa-form-group textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1em;
        transition: border-color 0.3s;
    }
    .woa-form-group input[type="text"]:focus,
    .woa-form-group select:focus,
    .woa-form-group textarea:focus {
        border-color: #3498db;
        outline: none;
        box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
    }
    .woa-form-group textarea {
        min-height: 150px;
        resize: vertical;
    }
    .woa-form-submit {
        background-color: #3498db;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.3s;
    }
    .woa-form-submit:hover {
        background-color: #2980b9;
    }
    .notice {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    .notice.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    .notice.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    .woa-pagination {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    .woa-pagination a,
    .woa-pagination span {
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #3498db;
    }
    .woa-pagination a:hover {
        background-color: #f2f2f2;
    }
    .woa-pagination .current {
        background-color: #3498db;
        color: white;
        border-color: #3498db;
    }
    .woa-image-preview {
        max-width: 200px;
        height: auto;
        margin-top: 10px;
        display: none;
    }
    @media (max-width: 768px) {
        .woa-posts-table {
            display: block;
            overflow-x: auto;
        }
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice{
        background-color: rgb(230, 130, 16) !important;
    } 

    /* Main form container */
.legal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Region full width row */
.legal-full-row {
    display: flex;
    flex-direction: column;
}

/* Label style (region + fields) */
.legal-full-row label,
.legal-two-columns label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Select box style */
.legal-full-row select,
.legal-two-columns select {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Two-column row */
.legal-two-columns {
    display: flex;
    gap: 20px;
}

/* Each column */
.legal-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}


 /* === Grid Layout Blog section  === */
/* Grid layout */
/* Import Inter Font */


/* Responsive Grid */
.wone-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0 40px;
    color: #000;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.wone-section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8102e;
}

/* Grid Layout */
/* Grid Layout */
.wone-card-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .wone-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .wone-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card */
.woa-card {
    position: relative;
    display: flex;
    height: 350px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* transition: transform 0.4s ease, box-shadow 0.4s ease; */
}

.woa-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Overlay */
.woa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}

.woa-card:hover .woa-overlay {
    background: rgba(0,0,0,0.7);
}

/* Title */
.woa-title-bottom {
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    line-height: 1.2em;
    letter-spacing: 0.5px;
}

/* Title moves to top on hover */
.woa-card:hover .woa-title-bottom {
    top: 2rem;
    bottom: auto;
    transform: translateY(0);
    opacity: 1;
}

/* Underline */
.woa-underline {
    display: block;
    width: 100px;
    height: 3px;
    background-color: #FFA934;
    margin-top: 10px;
    transition: all 0.4s ease;
}

/* Hover content (excerpt) */
.woa-hover-content {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(40px);
    opacity: 0;
    text-align: left;
    max-width: 80%;
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

.woa-card:hover .woa-hover-content {
    opacity: 1;
    transform: translateY(-50%);
}

/* Author info */
.woa-hover-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.woa-card:hover .woa-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.woa-hover-info i {
    margin-right: 5px;
    color: #FFA934;
}

/* Pagination */
.wone-pagination {
    text-align: center;
    margin: 3rem 0 1rem;
}

.wone-pagination .page-numbers {
    margin: 0 5px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: #FFA934;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wone-pagination .page-numbers:hover {
    background: #f8f8f8;
}

.wone-pagination .page-numbers.current {
    background: #FFA934;
    color: #fff;
    border-color: #FFA934;
}


/* Lawyer services section to shows template cards*/
.woafr-lawyers-section {
  width: 100%;
}

.woafr-lawyer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
}

@media (min-width: 576px) {
  .woafr-lawyer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .woafr-lawyer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .woafr-lawyer-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.woafr-professional-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #f9f9f9;
  /* transition: all 0.3s ease; */
}

.woafr-profile-img {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  object-position: center;
  /* transition: transform 0.3s ease; */
}

.woafr-professional-card:hover .woafr-profile-img {
  transform: none;
}

.woafr-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 15px;
  /* padding-bottom: 5px; */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.woafr-professional-card:hover .woafr-name-overlay {
  opacity: 0;
  visibility: hidden;
}

.woafr-name-overlay h3 {
    margin: 0;
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3em;
    letter-spacing: 0px;
    color:white;
}

.woafr-professional-title {
  margin: 5px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.woafr-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 61, 79, 0.9);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  padding-top: 25px;
  padding-bottom:5px;
  padding-left:15px;
  padding-right:15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.woafr-professional-card:hover .woafr-hover-overlay {
  opacity: 1;
}

.woafr-contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.woafr-lawyer-pagination {
  margin-top: 20px;
  text-align: center;
}

.woafr-lawyer-pagination a,
.woafr-lawyer-pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  background: #f5f5f5;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.woafr-lawyer-pagination a:hover {
  background: #ddd;
}

.woafr-lawyer-pagination .woafr-current {
  background: #233d4f;
  color: #fff;
  font-weight: bold;
}

.woafr-see-more-wrapper {
  text-align: right;
  margin: 20px 27px;
}

.woafr-see-more-btn {
    border: 1px solid black;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 7px 10px;
    text-decoration: none;
    color: #1c1717ff;
    background-color: white;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
}

.woafr-see-more-btn:hover {
    text-decoration: none !important;
    background-color: #FFA934; /* Orange background on hover */
    color: white; /* White text on hover */
    border-color: #FFA934;
}

.woafr-see-more-btn .arrow-icon {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border-radius: 50%;
    background-color: #FFA934; /* Circle background */
    color: white; /* Icon color */
    font-size: 14px;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
/* Icon hover animation */
.woafr-see-more-btn :hover .arrow-icon {
    text-decoration: none !important;
    background-color: white; /* Circle turns white */
    color: #FFA934; /* Arrow turns orange */
    transform: translateX(3px); /* Slight slide to the right */
}



/* latest Partners*/
/* Section Wrapper */
.teddfw_section {
  width: 100%;
}

/* Grid Layout */
.teddfw_grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
}

@media (min-width: 576px) {
  .teddfw_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .teddfw_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .teddfw_grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Card */
.teddfw_card {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #f9f9f9;
  transition: none; /* No movement */
}

/* Profile Image */
.teddfw_img {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  object-position: center;
  transition: none; /* No zoom on hover */
}

/* Name Overlay */
.teddfw_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 15px;
  padding-bottom:5px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.teddfw_card:hover .teddfw_overlay {
  opacity: 0;
  visibility: hidden;
}

.teddfw_overlay h3 {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3em;
  color: white;
  letter-spacing: 0.3px;
}

.woafr-professional-title {
  margin: 5px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

/* Hover Overlay */
.teddfw_hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 61, 79, 0.9);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  padding: 25px 15px 5px 15px; /* Top 25px, others 15px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.teddfw_card:hover .teddfw_hover {
  opacity: 1;
}

.woafr-contact-item {
  border-bottom: 1px solid #FFA934;
  margin-bottom: 12px;
  padding: 2px 0; /* Adds spacing so text doesn’t touch borders */
  display: flex;
  align-items: center;
  gap: 10px; 
}

.woafr-contact-item i {
  color: #FFA934;
}

.woafr-firm-name {
  font-size: 14px;
  font-weight: 300;
  color: #d5d5d5 !important;
}

/* Hover bottom name */
.woafr-hover-bottom h3 {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3em;
  color: white;
  letter-spacing: 0.3px;
}

/* Button Section */
.teddfw_btn_wrapper {
  text-align: right;
  margin: 20px 27px;
}

/* Button Styles */
.teddfw_btn {
  border: 1px solid black;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  padding: 7px 10px;
  text-decoration: none;
  color: #1c1717ff;
  background-color: white;
  font-family: 'Inter', 'Roboto', sans-serif;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.3s ease;
}

/* Hover effect for button */
.teddfw_btn:hover {
  background-color: #FFA934;
  color: white;
  border-color: #FFA934;
}

/* Circle Arrow Icon */
.teddfw_btn .arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #FFA934;
  color: white;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Icon hover animation */
.teddfw_btn:hover .arrow-icon {
  background-color: white;
  color: #FFA934;
  transform: translateX(3px);
}

/*firm Single page */
/* -----------------------------------------------------------
   FIRM PROFILE PAGE - CLEAN DEVELOPER FRIENDLY CSS
   Matching your screenshot design (Vertical Cards + View All)
----------------------------------------------------------- */

:root {
    --wone-teal: #1A3344;
    --wone-ink: #1A3344;
    --wone-deep: #1A3344;
    --wone-pill: #f8f8f8;
    --wone-border: #e6e6e6;
    --wone-accent: #FFA934;       /* Icon color */
    --overhang: 120px;             /* Logo card bottom overhang */
    --shadow-md: 0 8px 22px rgba(0,0,0,0.18);
}

/* Prevent horizontal scrolling globally */
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

#wonefirmPrintable {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* -------------------- WRAPPER -------------------- */
.wonefirm-wrap {
    margin: auto;
    position: relative;
    max-width: 1200px;
    z-index: 1;
    font-family: "Inter", sans-serif;
    overflow-x: hidden !important;
}

/* -------------------- HEADER (40/60 Layout) -------------------- */
.wonefirm-header-section {
    position: relative;
    background: var(--wone-teal);
    color: #fff;
    min-height: 440px;
    isolation: isolate;
    overflow: hidden !important;
}

.wonefirm-header-section[data-has-cover="1"] {
    background-image: var(--cover);
    background-size: cover;
    background-position: center;
}

.wonefirm-header-section[data-has-cover="1"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 0;
}

.wonefirm-hero {
    position: relative;
    z-index: 1;
    padding: 40px 0 50px;
    overflow: hidden !important;
}

.wonefirm-hero-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: flex-end;
    overflow: hidden !important;
}

/* ---- LEFT: Firm Logo Card ---- */
.wonefirm-hero-left {
    display: flex;
    align-items: flex-end;
    overflow: hidden !important;
}

.wonefirm-hero-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(var(--overhang)) !important;
    overflow: hidden !important;
}

.wonefirm-hero-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

/* ---- RIGHT: Firm Name + Meta ---- */
.wonefirm-hero-right {
    padding-left:10%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    overflow: hidden !important;
}

.wonefirm-name {
    font-family: "Playfair Display", serif !important;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-tagline {
    font-size: 18px;
    font-style: italic;
    color: #fff;
    margin-bottom: 14px;
    word-wrap: break-word;
}

/* ---- Meta: Address • Website • Email • Phone ---- */
.wonefirm-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wonefirm-meta span,
.wonefirm-meta a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-meta a:hover {
    text-decoration: underline;
}

.wonefirm-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wonefirm-meta i {
    width: 20px;
    font-size: 15px;
    color: var(--wone-accent);
    flex-shrink: 0;
}

/* -------------------- CONTENT LAYOUT -------------------- */
.wonefirm-content {
    padding-left:5%;
    padding-right:5%;
   padding-top:50px;
   overflow-x: hidden !important;
   /* max-width: 100% !important; */
}
.firm-practice-wrap {
    padding: 10px 5px 10px 10px;
    overflow-x: hidden !important;
}

.firm-practice-group {
    margin-bottom: 18px;
    overflow-x: hidden !important;
}

.firm-practice-main {
    font-family: "Inter", sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #FFA934 !important;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-wrap: break-word;
}

.firm-practice-main i {
    font-size: 20px;
    color: #FFA934;
    flex-shrink: 0;
}

.firm-practice-list {
    list-style: disc  !important;
    padding-left: 0 !important;
    margin-left: 18px !important;
    margin-top: 4px;
}

.firm-practice-list li {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    color: #1A3344;
    margin-bottom: 4px;
    list-style: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-content-core {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.wonefirm-left {
    flex: 0 0 55%;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.wonefirm-right {
    flex: 0 0 37%;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* -------------------- ACCORDIONS -------------------- */
.wonefirm-section-title {
    font-size: 30px;
    font-weight: 300;
    color: var(--wone-ink);
    margin-bottom: 10px;
    word-wrap: break-word;
}

.wonefirm-accordion-item {
    margin-bottom: 3px;
    overflow-x: hidden !important;
}

.wonefirm-toggle-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    padding: 5px 0px;
    font-size: 28px !important;
    font-weight: 300 !important;
    color: #1b5b69 !important;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-accordion-panel p{
    font-size: 18px !important;
    line-height: 1.45 !important;
    color: #444 !important;
    font-weight: 300 !important;
    margin-bottom: 6px !important;
    position: relative !important;
    padding-left: 8px !important;
    transition: color 0.25s ease-in-out !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.wonefirm-toggle-title {
    letter-spacing: -0.5px;
    line-height: 1;
}

.wonefirm-toggle-icon {
    font-size: 28px;
    color: var(--wone-ink);
    flex-shrink: 0;
}

.wonefirm-toggle-sign {
    margin-left: auto;
    font-size: 24px;
    color: var(--wone-ink);
    flex-shrink: 0;
}

.wonefirm-accordion-panel {
    padding: 14px 30px 12px;
    overflow-x: hidden !important;
}

/* ---- Pills ---- */
.wonefirm-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
    overflow-x: hidden !important;
}

.wonefirm-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--wone-pill);
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 16px;
    color: #111;
    border-radius: 3px;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-btn:hover {
    background: #f1f1f1;
}

/* -------------------- OUR PROFESSIONALS (Vertical Cards) -------------------- */
/* ===================== OUR PROFESSIONALS - HORIZONTAL CARDS ===================== */

.wonefirm-right {
    width: 100%;
}

.wonefirm-lawyers-wrap {
    width: 100%;
    margin-top: 10px;
    overflow-x: hidden !important;
}

/* Default show only first 2 */
.wonefirm-lawyer-card.is-extra {
    display: none;
}

/* When expanded show all */
.wonefirm-lawyers-wrap.show-all .wonefirm-lawyer-card.is-extra {
    display: flex;
}

/* Professionals Title */
.wonefirm-section-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 28px;
    color: #1A3344;
    margin-bottom: 14px;
}

/* Container for all cards */
.wonefirm-lawyer-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    overflow-x: hidden !important;
}

/* Single Card */
.wonefirm-lawyer-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 0;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    box-sizing: border-box !important;
}

/* Image */
.wonefirm-lawyer-img {
    width: 35%;
    min-width: 180px;
    max-width: 230px;
    height: 200px;
    background: #ddd;
    overflow: hidden;
    flex-shrink: 0;
}

.wonefirm-lawyer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Content section */
.wonefirm-lawyer-details {
    width: 65%;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Name */
.wonefirm-lawyer-name{
    font-weight: 700;
    color: #111;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Roboto';
    line-height: 1;
    word-wrap: break-word;
}
.wonefirm-lawyer-name a {
    font-weight: 700;
    color: #111;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Roboto';
    line-height: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-lawyer-name a:hover {
    text-decoration: underline;
}

/* Practice Areas */
.wonefirm-lawyer-practices {
    font-size: 14px;
    color: #1A3344;
    line-height: 1.4;
    margin-top: 4px;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Email */
.wonefirm-lawyer-email a {
    font-size: 14px;
    color: #0a66c2;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-lawyer-email a:hover {
    text-decoration: underline;
}

/* Phone */
.wonefirm-lawyer-phone a {
    font-size: 14px;
    color: #1A3344;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wonefirm-lawyer-phone a:hover {
    text-decoration: underline;
}

/* VIEW ALL / SHOW LESS BUTTON */
.wonefirm-lawyers-actions {
    margin-top: 14px;
    text-align: right;
    overflow-x: hidden !important;
}

.wonefirm-viewall-btn {
    background: transparent !important;
    border: 1px solid #1A3344!important;
    padding: 2px 10px !important;
    font-size: 15px;
    cursor: pointer;
    color: #1A3344!important;
    font-weight: 600;
    text-transform: uppercase !important;
    word-wrap: break-word;
}
.firm-pa-main-link {
    color: #FFA934 !important;
    text-decoration: none;
    font-weight: 700;
    word-wrap: break-word;
}

.firm-pa-main-link:hover {
    text-decoration: underline;
}

.firm-pa-sub-link {
    color: #1A3344 !important;
    text-decoration: none;
    font-weight: 400;
    word-wrap: break-word;
}

.firm-pa-sub-link:hover {
    text-decoration: underline;
}

.wonefirm-viewall-btn:hover {
    background: #1A3344!important;
    color: #fff !important;
}

/* ==============================================
   FIRM PROFILE – ACTION BUTTONS + PRINT SUPPORT
   WITH !important APPLIED
   ============================================== */

/* ====== Top & Sticky Action Buttons ====== */
.firm-actions {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    overflow-x: hidden !important;
}

.firm-iconbtn {
    border: none !important;
    background: transparent !important;
    color: #FFA934 !important;
    font-size: 25px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 8px !important;
    transition: 0.2s ease !important;
    flex-shrink: 0;
}

.firm-iconbtn:hover {
    transform: translateY(-2px) !important;
}

.firm-share { position: relative !important; }

.firm-share-menu {
	position: absolute !important;
	top: 42px !important;
	right: 0 !important;
	background: #ffffff !important;
	border: 1px solid #e0e0e0 !important;
	padding: 6px 0 !important;
	min-width: 165px !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
	border-radius: 8px !important;
	display: none ;
	z-index: 999 !important;
    overflow: hidden !important;
}

.firm-share-menu .share-item {
	width: 100% !important;
	padding: 8px 12px !important;
	background: none !important;
	border: none !important;
	text-align: left !important;
	cursor: pointer !important;
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	color: #1A3344 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
    word-wrap: break-word;
}

.firm-share-menu .share-item i {
	font-size: 15px !important;
	color: #1A3344 !important;
    flex-shrink: 0;
}

.firm-share-menu .share-item:hover {
	background: #F4F6F8 !important;
}

/* ====== Header Right Action Placement ====== */
.wonefirm-hero-right {
    position: relative !important;
}

.firm-actions--top {
    position: absolute !important;
    top: -40px !important;
    right: 30px !important;
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 991px) {
    .firm-actions--top {
        position: static !important;
        margin-bottom: 8px !important;
    }
    .firm-iconbtn {
        font-size: 24px !important;
    }
}

/* ====== Second Action Bar (Below Header) ====== */
.firm-second-actionbar {
    padding-top:80px;
    width: 100% !important;
    background: transparent !important;
    overflow: hidden !important;
}

.firm-second-actionbar .firm-wrap {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 10px 12px !important;
    display: flex !important;
    justify-content: flex-end !important;
    border-bottom:1px solid #e6e6e6;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Clean List – No Bullets, No Icons */
.wone-clean-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.wone-clean-list li {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    color: #1A3344 !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #eee !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wone-clean-list li:last-child {
    border-bottom: none !important;
}

/* ====== PRINT MODE OPTIMIZATION ====== */
@media print {
    header,
    footer,
    nav,
    .site-header,
    .site-footer,
    .wp-admin-bar,
    #wpadminbar,
    .firm-second-actionbar {
        display: none !important;
    }

    /* Open all Accordions */
    .wonefirm-accordion-panel {
        display: block !important;
    }
    .wonefirm-toggle-sign {
        display: none !important;
    }

    /* White background print */
    body {
        background: #fff !important;
        color: #000 !important;
    }

    /* Remove URL after links */
    a[href]::after {
        content: "" !important;
    }

    /* Hide share dropdown */
    .firm-share-menu {
        display: none !important;
    }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .wonefirm-lawyer-card {
        flex-direction: column;
    }
    .wonefirm-content{
        padding:30px;
        overflow-x: hidden !important;
    }

    .wonefirm-lawyer-img {
        width: 100%;
        height: 220px;
        max-height: 260px;
    }

    .wonefirm-lawyer-details {
        width: 100%;
        padding: 14px;
    }
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 980px) {
    .wonefirm-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wonefirm-name {
        font-size: 34px;
    }
    .wonefirm-content-core {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .wonefirm-topic-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   WONE FIRM PROFILE – MASTER RESPONSIVE OVERRIDES (APPEND-ONLY)
   Keep your existing CSS. Paste this entire block at the end.
   ============================== */

/* ------------------------------------------
   TABLET BASELINE (769px–1024px)
-------------------------------------------*/
@media (max-width: 1024px) {
  .wonefirm-hero-grid {
    gap: 24px !important;
  }
  .wonefirm-hero-right {
    padding-left: 4% !important;
    min-height: 320px !important;
  }
  .wonefirm-name {
    font-size: 38px !important;
  }
  .wonefirm-content-core {
    gap: 40px !important;
    padding: 0 16px !important;
    overflow-x: hidden !important;
  }
  .wonefirm-lawyer-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .wonefirm-lawyer-img {
    width: 270px !important;
    min-width: 270px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
  .wonefirm-lawyer-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .wonefirm-lawyer-details {
    flex: 1 !important;
    padding-left: 20px !important;
    text-align: left !important;
  }
}

/* ------------------------------------------
   MOBILE MASTER (≤768px)
   – Header: no cover, solid bg, logo auto width, 20px padding
   – Lawyers: image fixed 230px left, text right with 20px padding
-------------------------------------------*/
@media (max-width: 768px) {

  #wonefirmPrintable * {
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* HEADER → Solid background (no cover) */
  .wonefirm-header-section {
    background: #1A3344 !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: unset !important;
    background-repeat: no-repeat !important;
    min-height: auto !important;
    padding: 20px !important;  /* 20px requested */
    overflow-x: hidden !important;
  }

  .wonefirm-hero-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    text-align: left !important;
    overflow-x: hidden !important;
  }

  .wonefirm-hero-left {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    overflow-x: hidden !important;
  }

  .wonefirm-hero-card {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    padding: 20px !important;  /* 20px around logo */
    overflow-x: hidden !important;
  }

  /* Logo → auto width (capped) */
  .wonefirm-hero-card img {
    width: auto !important;
    background-color:white;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important; /* left aligned with container padding */
  }

  .wonefirm-hero-right {
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    overflow-x: hidden !important;
  }

  .wonefirm-name {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    text-align: left !important;
    word-wrap: break-word;
  }

  .wonefirm-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
    text-align: left !important;
    color: #fff !important;
    margin-top: 6px !important;
  }

  .wonefirm-meta span,
  .wonefirm-meta a,
  .wonefirm-meta i {
    color: #fff !important;
    font-size: 0.95rem !important;
    word-wrap: break-word;
  }

  /* ACTION ICONS → left side both places */
  .firm-actions--top {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 12px !important;
    gap: 8px !important;
    overflow-x: hidden !important;
  }

  .firm-second-actionbar {
    display: none !important; /* keep page tight on mobile */
  }

  .wonefirm-content-core {
    display: block !important;
    padding: 12px !important;
    gap: 0 !important;
    overflow-x: hidden !important;
  }

  .wonefirm-left,
  .wonefirm-right {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  .wonefirm-toggle-title {
    font-size: 1.1rem !important;
    padding: 10px 8px !important;
  }

  /* PROFESSIONALS */
  .wonefirm-section-title {
    font-size: 1.4rem !important;
    margin: 16px 0 !important;
    text-align: left !important;
  }

  .wonefirm-lawyer-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    overflow-x: hidden !important;
  }

  .wonefirm-lawyer-card {
    width: 100% !important;
    display: flex !important;           /* horizontal layout */
    align-items: flex-start !important;
    gap: 12px !important;
    background: #fff !important;
    padding: 12px !important;
    border: 1px solid #e5e5e5 !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Fixed image left: 230px */
  .wonefirm-lawyer-img {
    width: 230px !important;
    min-width: 230px !important;
    height: auto !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    background: #f2f2f2 !important;
  }

  .wonefirm-lawyer-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .wonefirm-lawyer-details {
    flex: 1 !important;
    padding-left: 20px !important;  /* 20px requested */
    text-align: left !important;
    overflow: hidden !important;
  }

  .wonefirm-lawyer-name a,
  .wonefirm-lawyer-name {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1A3344 !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    word-wrap: break-word;
  }

  .wonefirm-lawyer-practices {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    color: #444 !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    word-wrap: break-word;
  }

  .wonefirm-lawyer-email a,
  .wonefirm-lawyer-phone a {
    font-size: 0.95rem !important;
    color: #1A3344 !important;
    display: block !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
    text-decoration: none !important;
  }

  .wonefirm-lawyer-email a:hover,
  .wonefirm-lawyer-phone a:hover {
    text-decoration: underline !important;
  }

  .wonefirm-viewall-btn {
    width: 100% !important;
    background: #1A3344 !important;
    color: #fff !important;
    padding: 10px !important;
    font-size: 1rem !important;
    margin-top: 10px !important;
    border: none !important;
    text-align: center !important;
  }

  .wonefirm-topic-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ------------------------------------------
   SMALL MOBILE (≤480px)
-------------------------------------------*/
@media (max-width: 480px) {

  .wonefirm-name {
    font-size: 1.5rem !important;
  }
  .wonefirm-meta span,
  .wonefirm-meta a {
    font-size: 0.9rem !important;
  }
  .wonefirm-lawyer-card {
    gap: 10px !important;
  }
  .wonefirm-lawyer-img {
    width: 270px !important;
    min-width: 270px !important;
  }
  .wonefirm-lawyer-details {
    padding-left: 16px !important;
  }
  .wonefirm-lawyer-name a {
    font-size: 1.1rem !important;
  }
  .wonefirm-lawyer-practices,
  .wonefirm-lawyer-email a,
  .wonefirm-lawyer-phone a {
    font-size: 0.9rem !important;
  }
}

/* ------------------------------------------
   ULTRA SMALL (≤360px)
-------------------------------------------*/
@media (max-width: 360px) {
  .wonefirm-lawyer-card {
    display: block !important;
    padding: 0 !important;
    border: 1px solid #e5e5e5 !important;
  }
  .wonefirm-lawyer-img {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
  }
  .wonefirm-lawyer-details {
    padding: 12px !important;
  }

}
/* ==================================================
   POSITION TOP ACTION ICONS ON RIGHT SIDE
   ================================================== */

/* Desktop + Tablet */
.firm-actions--top {
    display: flex !important;
    justify-content: flex-end !important;
    right: 20px !important;
    left: auto !important;
}

/* Mobile - also align to the right */
@media (max-width: 768px) {
    .firm-actions--top {
        justify-content: flex-start !important;
        margin-bottom: 12px !important;
    }
}

/* ------------------------------------------
   DESKTOP OVERRIDE: move top actions to LEFT
-------------------------------------------*/
@media (min-width: 992px) {

  .firm-second-actionbar .firm-wrap {
    justify-content: flex-end !important; /* left on desktop secondary bar */
  }
}

/* WOA Dashboard Main Container */
/* WOA Dashboard Main Container */
.woa-dashboard {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #e2e8f0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0a1929 0%, #152535 100%);
    padding: 20px;
}

/* Desktop Header */
.woa-dashboard-header.desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

/* Mobile Header - FIXED */
.woa-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1005;
    border-bottom: 1px solid rgba(255, 169, 52, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.woa-mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    width: 100%;
}

/* Mobile Menu Toggle Button */
.woa-mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, #ffa934, #ffc107);
    color: #0a1929;
    border: none;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 169, 52, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.woa-mobile-menu-toggle .menu-icon,
.woa-mobile-menu-toggle .close-icon {
    position: absolute;
    font-size: 20px;
    transition: all 0.3s ease;
}

.woa-mobile-menu-toggle .close-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.woa-mobile-menu-toggle.active .menu-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.woa-mobile-menu-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.woa-mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 169, 52, 0.4);
}

/* Mobile Header Buttons Container */
.woa-mobile-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Buttons - Fixed Alignment */
.woa-back-btn,
.woa-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    height: 44px;
}

/* Back Button */
.woa-back-btn {
    border: 0px !important;
    background: rgb(255 255 255 / 10%);
    color: #ffa934;

}

.woa-back-btn:hover {
    background: rgba(255, 169, 52, 0.2);
    transform: translateY(-2px);
    color: #ffc107;
}

/* Logout Button */
.woa-logout-btn {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.2);
}

.woa-logout-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    transform: translateY(-2px);
    color: #ff6b81;
}

/* Button Icons and Text Alignment */
.woa-back-btn i,
.woa-logout-btn i,
.woa-btn i,
.woa-nav-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.woa-back-btn span,
.woa-logout-btn span,
.woa-btn span,
.woa-nav-item span {
    display: inline-block;
    line-height: 1;
    font-weight: 600;
}

/* Desktop Buttons */
.woa-back-btn:not(.mobile),
.woa-logout-btn:not(.mobile) {
    padding: 12px 22px;
    font-size: 15px;
    gap: 10px;
    height: auto;
}

.woa-back-btn:not(.mobile) i,
.woa-logout-btn:not(.mobile) i {
    font-size: 15px;
    width: 18px;
}

.woa-dashboard-container {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    max-width: 1400px;
}

/* Sidebar */
.woa-sidebar {
    width: 320px;
    background: rgba(21, 37, 53, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(255, 169, 52, 0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 30px;
    height: fit-content;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Profile Section */
.woa-profile {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 169, 52, 0.15);
}

.woa-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 169, 52, 0.3);
    box-shadow: 0 4px 20px rgba(255, 169, 52, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.woa-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.woa-profile h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.woa-profile-email {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 20px;
    word-break: break-word;
}

.woa-role-badge {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(255, 169, 52, 0.2), rgba(255, 193, 7, 0.1));
    color: #ffa934;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 169, 52, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woa-profile-type {
    font-size: 14px;
    color: #ffa934;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 169, 52, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 169, 52, 0.2);
}

/* Navigation */
.woa-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woa-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 22px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.woa-nav-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.woa-nav-item span {
    flex: 1;
    font-size: 15px;
}

/* Main Content */
.woa-main {
    flex: 1;
    background: rgba(21, 37, 53, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(255, 169, 52, 0.15);
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Welcome Section */
.woa-welcome h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px;
    color: #ffffff;
    line-height: 1.2;
}

.woa-welcome > p {
    font-size: 17px;
    color: #a0aec0;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 800px;
}

/* Stats Section */
.woa-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.woa-stat {
    background: linear-gradient(135deg, rgba(26, 51, 68, 0.7), rgba(15, 30, 45, 0.7));
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 169, 52, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.woa-stat i {
    font-size: 36px;
    color: #ffa934;
    margin-bottom: 20px;
    display: block;
}

.woa-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1;
}

.woa-stat-label {
    font-size: 14px;
    color: #a0aec0;
    font-weight: 600;
}

/* Actions Section */
.woa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 35px;
}

.woa-btn {
    margin-top:10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #ffa934, #ffc107);
    color: #0a1929;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 169, 52, 0.3);
    box-shadow: 0 4px 20px rgba(255, 169, 52, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.woa-btn i {
    font-size: 17px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woa-btn span {
    display: inline-block;
    line-height: 1;
}

/* Sidebar Overlay */
.woa-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woa-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .woa-dashboard {
        padding: 0;
        padding-top: 68px; /* Match header height */
    }
    
    /* Hide desktop header */
    .woa-dashboard-header.desktop {
        display: none;
    }
    
    /* Show mobile header */
    .woa-mobile-header {
        display: block;
    }
    
    /* Show mobile menu toggle */
    .woa-mobile-menu-toggle {
        display: flex;
    }
    
    .woa-dashboard-container {
        flex-direction: column;
        gap: 0;
        padding: 15px;
    }
    
    /* Mobile sidebar */
    .woa-sidebar {
        position: fixed;
        top: 50;
        left: -100%;
        width: 85%;
        max-width: 90%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        border-right: 1px solid rgba(255, 169, 52, 0.15);
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .woa-sidebar.active {
        left: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    /* Mobile Header Buttons */
    .woa-mobile-header-buttons {
        gap: 6px;
    }
    
    .woa-back-btn.mobile
     {
        padding: 10px 14px;
        font-size: 13px;
        height: 44px;
    }
    .woa-logout-btn.mobile{
        margin-top:10px;
        padding: 10px 14px;
        font-size: 13px;
        height: 44px;
    }

    
    .woa-back-btn.mobile i,
    .woa-logout-btn.mobile i {
        font-size: 13px;
    }
    
    /* Main Content Mobile */
    .woa-main {
        padding: 25px 20px;
        border-radius: 12px;
        margin-top: 10px;
        width: 100%;
    }
    
    .woa-welcome h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 12px;
        display: block;
    }
    
    .woa-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .woa-stat {
        padding: 25px 20px;
    }
    
    .woa-stat i {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .woa-stat-number {
        font-size: 28px;
    }
    
    /* Actions Mobile */
    .woa-actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .woa-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 20px;
        font-size: 15px;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .woa-mobile-header-content {
        padding: 10px 12px;
    }
    
    .woa-mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .woa-back-btn.mobile
   {
        padding: 8px 12px;
        font-size: 12px;
        height: 40px;
        gap: 6px;
    }
     .woa-logout-btn.mobile{
        padding: 8px 12px;
        font-size: 12px;
        height: 40px;
        gap: 6px;
     }
    
    .woa-back-btn.mobile span,
    .woa-logout-btn.mobile span {
        font-size: 12px;
    }
    
    .woa-back-btn.mobile i,
    .woa-logout-btn.mobile i {
        font-size: 12px;
        width: 14px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .woa-dashboard-container {
        flex-direction: row;
    }
    
    .woa-sidebar {
        width: 35%;
        max-width: 90%;
    }
    
    .woa-main {
        flex: 1;
    }
    
    .woa-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .woa-dashboard {
        min-height: -webkit-fill-available;
    }
}

/* Prevent horizontal scroll */
.woa-dashboard {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Touch-friendly elements for mobile */
@media (hover: none) and (pointer: coarse) {
    .woa-btn,
    .woa-nav-item,
    .woa-back-btn,
    .woa-logout-btn,
    .woa-mobile-menu-toggle {
        min-height: 44px;
    }
    
    .woa-nav-item {
        padding: 20px 22px;
    }
    
    .woa-btn {
        padding: 20px 25px;
    }
}

/* Custom Scrollbar */
.woa-dashboard::-webkit-scrollbar,
.woa-sidebar::-webkit-scrollbar {
    width: 8px;
}

.woa-dashboard::-webkit-scrollbar-track,
.woa-sidebar::-webkit-scrollbar-track {
    background: rgba(21, 37, 53, 0.8);
}

.woa-dashboard::-webkit-scrollbar-thumb,
.woa-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ffa934, #ffc107);
    border-radius: 4px;
}