.licenses-dashboard {
    margin: 20px 0;
}

.licenses-dashboard h2 {
    color: #2c3e50 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.license-overview-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.license-overview-table table {
    width: 100%;
    border-collapse: collapse;
}

.license-overview-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.license-overview-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.license-overview-table tr:hover {
    background: #f8f9fa;
}

.order-more-licenses {
    background: #e74c3c !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background 0.3s ease !important;
}

.order-more-licenses:hover {
    background: #c0392b !important;
    color: white !important;
}

/* View License Button Styles */
.view-license-btn {
    background: #2c3e50 !important;
    color: white !important;
    border: none !important;
    padding: 8px 30px 10px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    transition: background 0.3s ease !important;
    margin-right: 10px !important;
}

.view-license-btn:hover {
    background: #34495e !important;
    color: white !important;
    text-decoration: none !important;
}

/* Button container spacing for desktop */
.licenses-dashboard .license-overview-table td .wp-block-button {
    display: inline-block !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
}

.licenses-dashboard .license-overview-table td .wp-block-button:last-child {
    margin-right: 0 !important;
}

.product-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
}

/* Single License View Styles */
.single-license-dashboard {
    margin: 20px 0;
}

.license-header {
    margin-bottom: 30px;
}

.back-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.license-header h2 {
    color: #2c3e50 !important;
    font-size: 24px !important;
    margin: 10px 0 !important;
    font-weight: 700 !important;
}

.license-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.license-section h3 {
    color: #2c3e50 !important;
    font-size: 24px !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
}

.license-button {
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.7;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: none;
}

.license-button.assign-license {
    background: #f39c12;
    color: white;
    border: 1px solid #e67e22;
}

.license-button.assign-license:hover {
    background: #e67e22;
    color: white;
}

.license-button.reset-license {
    background: #f39c12;
    color: white;
    border: 1px solid #e67e22;
    margin-right: 5px;
}

.license-button.reset-license:hover {
    background: #e67e22;
    color: white;
}

.license-button.send-again {
    background: #e67e22;
    color: white;
}

.license-button.send-again:hover {
    background: #d35400;
    color: white;
}

.license-button.order-more {
    background: #e67e22;
    color: white;
    font-size: 14px;
    padding: 14px 35px 16px 35px;
}

.license-button.order-more:hover {
    background: #d35400;
    color: white;
}

.assigned-licenses-table {
    margin-top: 15px;
}

.assigned-licenses-table table {
    width: 100%;
    border-collapse: collapse;
}

.assigned-licenses-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.assigned-licenses-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle !important;
}

.assigned-licenses-table tr:hover {
    background: #f8f9fa;
}

.copy-link {
    color: #2c3e50;
    text-decoration: none;
}

.copy-link:hover {
    text-decoration: underline;
}

.order-more-section {
    text-align: center;
    margin-top: 30px;
}

/* Modal Styles */
.license-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    margin: 50px auto;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #2c3e50;
}

.modal-body {
    padding: 20px;
}

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

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

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.form-group textarea:focus {
    outline: none;
    border-color: #d36047;
    box-shadow: 0 0 0 2px rgba(211, 96, 71, 0.2);
}

.form-help {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-cancel:hover {
    background: #5a6268;
}

.modal-submit {
    background: #d36047;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-submit:hover {
    background: #b8543f;
}

/* Debug Info */
.debug-info {
    background: #f8f9fa;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
}

/* Action buttons styling */
.assigned-licenses-table .wp-block-button {
    display: inline-block !important;
    margin-right: 5px !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
}

.assigned-licenses-table .wp-block-button:last-child {
    margin-right: 0 !important;
}

/* License ID and expiration date on one line */
.assigned-licenses-table td:first-child {
    white-space: nowrap !important;
}

.assigned-licenses-table td:first-child strong {
    margin-right: 10px !important;
    font-size: inherit !important;
    color: inherit !important;
}

.assigned-licenses-table td:first-child small {
    display: inline !important;
    margin-left: 5px !important;
    color: inherit !important;
    font-size: inherit !important;
}

/* Base styles for all action buttons in the table */
.assigned-licenses-table .wp-block-button__link,
.copy-link-btn,
.available-licenses-table .wp-block-button__link {
    color: white !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: background 0.2s ease !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    cursor: pointer !important;
    margin-right: 5px !important;
}

/* Copy link button - keep original green background */
.assigned-licenses-table .copy-link-btn {
    background: #446b46 !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

.assigned-licenses-table .copy-link-btn:hover {
    background: #3a5a3c !important;
    color: white !important;
    text-decoration: underline !important;
}

/* Reset button - keep original red background */
.assigned-licenses-table .wp-block-button__link {
    background: #d36047 !important;
}

.assigned-licenses-table .wp-block-button__link:hover {
    background: #b84a3a !important;
    color: white !important;
    text-decoration: underline !important;
}

/* Assign single license button styling */
.available-licenses-table .wp-block-button__link.assign-single-license {
    background: #d36047 !important;
    font-size: 14px !important;
}

.available-licenses-table .wp-block-button__link.assign-single-license:hover {
    background: #b84a3a !important;
    color: white !important;
    text-decoration: underline !important;
}

/* Duplicate email warning styles */
#duplicateWarning {
    color: #dc3545 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    font-weight: 500 !important;
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
}

#emailPreview {
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    padding: 8px !important;
    background: white !important;
    margin-top: 10px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

#emailPreview:hover {
    border-color: #d36047 !important;
}

/* Highlighted duplicate emails */
.duplicate-email-highlight {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-weight: bold !important;
}

/* Interactive email list styles */

.email-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 2px 4px 2px 0 !important;
    position: relative !important;
}

.duplicate-email {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    font-weight: bold !important;
    display: inline-block !important;
    margin-right: 4px !important;
}

.valid-email {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    display: inline-block !important;
}

.remove-email-btn {
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: background-color 0.2s ease !important;
}

.remove-email-btn:hover {
    background: #c82333 !important;
    transform: scale(1.1) !important;
}

.remove-email-btn:active {
    transform: scale(0.95) !important;
}

/* Reset License Modal Styles */
.warning-note {
    font-style: italic;
    color: #6c757d;
    margin-top: 15px;
    margin-bottom: 0;
}

.reset-confirm {
    background: #dc3545 !important;
    color: white !important;
}

.reset-confirm:hover {
    background: #c82333 !important;
}

/* ===== EXTRACTED CSS FROM PHP FILE ===== */

/* Modal Styles - First Block */
.license-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    display: none !important;
}

.license-modal[style*="display: block"] {
    display: block !important;
}

.modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 90% !important;
    margin: 50px auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

.copy-link-btn {
    background: #446b46 !important;
    color: white !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.copy-link-btn:hover {
    background: #3a5a3c !important;
}

/* License Overview Styles - Second Block */
/* Center Antall and Brukt columns in license overview */
.licenses-dashboard .woocommerce-orders-table th:nth-child(2),
.licenses-dashboard .woocommerce-orders-table td:nth-child(2),
.licenses-dashboard .woocommerce-orders-table th:nth-child(3),
.licenses-dashboard .woocommerce-orders-table td:nth-child(3) {
    text-align: center !important;
}

/* Reduce button padding in license overview */
.licenses-dashboard .order-more-licenses {
    padding: 8px 30px 10px !important;
}

/* Mobile/Desktop view switching for license overview */
@media (max-width: 1333px) {
    .licenses-dashboard .desktop-view {
        display: none !important;
    }
    .licenses-dashboard .mobile-view {
        display: block !important;
    }

    /* Hide "Produkt" label on mobile for cleaner look */
    .licenses-dashboard .card-row:first-child .card-label {
        display: none !important;
    }
}

@media (min-width: 1334px) {
    .licenses-dashboard .desktop-view {
        display: block !important;
    }
    .licenses-dashboard .mobile-view {
        display: none !important;
    }
}

/* Card styling for license overview mobile view */
.licenses-dashboard .license-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.licenses-dashboard .card-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
    gap: 8px;
}

.licenses-dashboard .card-row:last-of-type {
    margin-bottom: 0;
}

.licenses-dashboard .card-label {
    font-weight: bold;
    color: #333;
    flex: 0 0 auto;
}

.licenses-dashboard .card-value {
    color: #666;
    text-align: center;
    flex: 0 0 auto;
}

.licenses-dashboard .card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.licenses-dashboard .card-actions .wp-block-button {
    margin: 0;
    width: 100%;
    max-width: 200px;
}

.licenses-dashboard .card-actions .wp-block-button__link {
    width: 100%;
    text-align: center;
    display: block;
}

/* License overview responsive improvements */
@media (max-width: 470px) {
    .licenses-dashboard .license-overview-cards .wp-block-button {
        width: 100% !important;
    }

    .licenses-dashboard .license-overview-cards .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
    }

    /* Stack buttons vertically on mobile */
    .licenses-dashboard .license-overview-table td .wp-block-button {
        display: block !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .licenses-dashboard .license-overview-table td .wp-block-button:last-child {
        margin-bottom: 0 !important;
    }

    .licenses-dashboard .license-overview-table td .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
}

@media (max-width: 320px) {
    .licenses-dashboard {
        padding: 5px !important;
        margin: 5px !important;
    }

    .licenses-dashboard .license-overview-cards .license-card {
        padding: 8px !important;
        margin-bottom: 8px !important;
    }

    .licenses-dashboard .license-overview-cards .card-row {
        margin-bottom: 6px !important;
        padding: 3px 0 !important;
    }

    .licenses-dashboard .license-overview-cards .card-actions {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}

/* Single License View Styles - Fourth Block */
/* Center table columns */
.single-license-dashboard .woocommerce-orders-table th:nth-child(2),
.single-license-dashboard .woocommerce-orders-table td:nth-child(2) {
    text-align: center !important;
}

/* Center action buttons in table cells */
.single-license-dashboard .woocommerce-orders-table td {
    text-align: center !important;
}

/* Override for first column (License ID) to be left-aligned */
.single-license-dashboard .woocommerce-orders-table th:first-child,
.single-license-dashboard .woocommerce-orders-table td:first-child {
    text-align: left !important;
}

/* Override for email column to be left-aligned */
.single-license-dashboard .woocommerce-orders-table td:nth-child(4) {
    text-align: left !important;
}

/* Override for handling column (3rd column) to be left-aligned */
.single-license-dashboard .woocommerce-orders-table td:nth-child(3) {
    text-align: left !important;
}

/* Reduce button padding in single license view */
.single-license-dashboard .order-more {
    padding: 8px 30px 10px !important;
}

/* Mobile/Desktop view switching */
@media (max-width: 1333px) {
    .single-license-dashboard .desktop-view {
        display: none !important;
    }
    .single-license-dashboard .mobile-view {
        display: block !important;
    }
}

@media (min-width: 1334px) {
    .single-license-dashboard .desktop-view {
        display: block !important;
    }
    .single-license-dashboard .mobile-view {
        display: none !important;
    }
}

/* Card styling for mobile */
.license-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

.card-row:last-of-type {
    margin-bottom: 0;
}

.card-label {
    font-weight: bold;
    color: #333;
    flex: 0 0 auto;
    margin-right: 10px;
}

.card-value {
    color: #666;
    text-align: right;
    flex: 1;
}

.card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-actions .wp-block-button {
    margin: 0;
    width: 100%;
    max-width: 200px;
}

.card-actions .wp-block-button__link {
    width: 100%;
    text-align: center;
    display: block;
}

.card-actions button {
    width: 100%;
    text-align: center;
    display: block;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Ensure copy-link-btn maintains desktop styling in mobile cards */
.card-actions .copy-link-btn {
    background: #446b46 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.card-actions .copy-link-btn:hover {
    background: #3a5a3c !important;
}

/* Apply same styling to toggle-available-licenses button */
.toggle-available-licenses {
    background: #446b46 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.toggle-available-licenses:hover {
    background: #3a5a3c !important;
    color: white !important;
}

/* Force correct colors for reset and send-again buttons */
.card-actions .reset-license,
.card-actions .send-again {
    background: #d36047 !important;
    color: white !important;
    border: none !important;
}

.card-actions .reset-license:hover,
.card-actions .send-again:hover {
    background: #c55a3f !important;
    color: white !important;
}

/* Mobile-specific layout for smaller screens */
@media (max-width: 480px) {
    .card-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .card-label {
        margin-right: 0;
        margin-bottom: 2px;
    }

    .card-value {
        text-align: left;
    }
}

/* Extra tight spacing for very small screens */
@media (max-width: 400px) {
    .woocommerce-MyAccount-content {
        padding: 5px !important;
    }

    .license-section.assigned-licenses {
        padding: 5px !important;
        margin: 5px !important;
    }

    .license-card {
        padding: 8px !important;
        margin-bottom: 8px !important;
    }

    .card-row {
        margin-bottom: 6px !important;
        padding: 3px 0 !important;
    }

    .card-actions {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}

/* Stack title and button vertically at 320px */
@media (max-width: 320px) {
    .license-section > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

/* Horizontal alignment from 550px and above */
@media (min-width: 550px) {
    .license-section > div[style*="display: flex"] {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .license-section > div[style*="display: flex"] h3 {
        margin-bottom: 0 !important;
    }
}

/* Stack vertically between 321px and 549px */
@media (min-width: 321px) and (max-width: 549px) {
    .license-section > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .toggle-available-licenses {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Also apply to 320px and below */
@media (max-width: 320px) {
    .toggle-available-licenses {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Make both buttons same width - 100% up to 550px */
@media (max-width: 549px) {
    .license-button.assign-license,
    .toggle-available-licenses {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
}

/* Make action buttons 100% width up to 470px */
@media (max-width: 470px) {
    .card-actions .wp-block-button {
        width: 100% !important;
    }

    .card-actions .wp-block-button__link,
    .card-actions button {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Modal responsive design under 510px */
@media (max-width: 510px) {
    .modal-content {
        width: 95% !important;
        margin: 20px auto !important;
        max-height: 90vh !important;
    }

    /* Stack email category labels above content */
    #emailPreview div[data-category] {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    #emailPreview div[data-category] > div:first-child {
        grid-column: 1 !important;
        margin-bottom: 4px !important;
    }

    #emailPreview div[data-category] > div:not(:first-child) {
        grid-column: 1 !important;
        margin-left: 0 !important;
    }

    /* Stack modal action buttons vertically on small screens */
    .modal-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal-actions button {
        width: 100% !important;
    }
}

/* License overview responsive improvements */
@media (max-width: 470px) {
    .licenses-dashboard .license-overview-cards .wp-block-button {
        width: 100% !important;
    }

    .licenses-dashboard .license-overview-cards .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
    }

    /* Make license overview cards look like distinct cards */
    .licenses-dashboard .license-overview-cards .license-card {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
}

@media (max-width: 320px) {
    .licenses-dashboard {
        padding: 5px !important;
        margin: 5px !important;
    }

    .licenses-dashboard .license-overview-cards .license-card {
        padding: 8px !important;
        margin-bottom: 8px !important;
    }

    .licenses-dashboard .license-overview-cards .card-row {
        margin-bottom: 6px !important;
        padding: 3px 0 !important;
    }

    .licenses-dashboard .license-overview-cards .card-actions {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}
