﻿/* Steel Gray Color Palette Variables */
:root {
    --steel-pearl: #B5B9BC;
    --steel-cloud: #C7CCCF;
    --soft-steel: #D9DCDE;
    --stainless-steel: #AAAEB2;
    --light-steel: #B3C4D1;
    --blue-steel: #4682B4;
    --steel-blue: #6191B8;
    --steel-mist: #787C7F;
    --steel-silver: #8C9093;
    --polished-steel: #989C9F;
    --cold-steel: #5E807E;
    --steel-sage: #6E887D;
    --ink-wound-steel: #777B7E;
    --steel-slate: #606569;
    --weathered-steel: #4A4D50;
    --steel-gray: #595D60;
    --steel-smoke: #464952;
    --steel-armor: #37393D;
    --dark-steel: #34444E;
    --primary-dark-blue: #012F52;
    --industrial-steel: #2B2D30;
    --gunmetal-steel: #1F2226;
    --primary: var(--blue-steel);
    --secondary: var(--steel-blue);
    --dark: var(--weathered-steel);
    --darker: var(--gunmetal-steel);
    --light: var(--soft-steel);
    --lighter: var(--steel-cloud);
    --border: var(--stainless-steel);
    --text-primary: var(--gunmetal-steel);
    --text-secondary: var(--steel-gray);
    --button-height: 34px;
    --input-height: 36px;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f6f7;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   HEADER
   ============================================ */
.app-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

    .app-header h1 {
        font-size: 22px;
        font-weight: 600;
        margin: 0;
    }

    .app-header .breadcrumb {
        margin-top: 4px;
        font-size: 13px;
        opacity: 0.9;
    }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lighter);
    gap: 12px;
    flex-wrap: wrap;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1;
    height: var(--button-height);
    white-space: nowrap;
    vertical-align: middle;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--secondary);
    }

.btn-secondary {
    background-color: var(--steel-slate);
    color: white;
}

    .btn-secondary:hover {
        background-color: var(--weathered-steel);
    }

.btn-info {
    background-color: var(--steel-blue);
    color: white;
}

    .btn-info:hover {
        background-color: var(--primary);
    }

.btn-danger {
    background-color: var(--weathered-steel);
    color: white;
}

    .btn-danger:hover {
        background-color: var(--steel-smoke);
    }

.btn-sm {
    height: var(--button-height);
    padding: 0 14px;
    font-size: 13px;
}

.btn-back {
    background-color: var(--steel-slate);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-back:hover {
        background-color: var(--weathered-steel);
    }

    .btn-back svg {
        width: 16px;
        height: 16px;
    }

.btn-icon-copy {
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: var(--steel-gray);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

    .btn-icon-copy:hover {
        background-color: var(--lighter);
        color: var(--primary);
        border-color: var(--primary);
    }

    .btn-icon-copy:active {
        transform: scale(0.95);
    }

    .btn-icon-copy svg {
        width: 14px;
        height: 14px;
        display: block;
    }

/* ============================================
   TABLES
   ============================================ */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 900px;
}

    .data-table thead {
        background-color: var(--lighter);
    }

    .data-table th {
        padding: 12px 14px;
        text-align: left;
        font-weight: 600;
        font-size: 11px;
        color: var(--text-primary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 2px solid var(--border);
        vertical-align: middle;
        white-space: nowrap;
    }

    .data-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--lighter);
        font-size: 13px;
        vertical-align: middle;
    }

    .data-table tbody tr {
        transition: background-color 0.2s ease;
    }

        .data-table tbody tr:hover {
            background-color: #f8f9fa;
        }

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: white;
    height: var(--input-height);
    line-height: 1.5;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
    }

    .form-control:disabled {
        background-color: var(--lighter);
        cursor: not-allowed;
    }

select.form-control {
    height: var(--input-height);
}

.form-compact {
    max-width: 600px;
}

    .form-compact .form-group {
        margin-bottom: 14px;
    }

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Enhanced Form Styles */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.form-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.form-card-body {
    padding: 30px;
}

.form-group-enhanced {
    margin-bottom: 24px;
}

    .form-group-enhanced:last-of-type {
        margin-bottom: 30px;
    }

.form-label-enhanced {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

    .form-label-enhanced .required {
        color: #ef5350;
        margin-left: 2px;
    }

.form-control-enhanced {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--lighter);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: white;
    font-family: inherit;
}

    .form-control-enhanced:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(70, 130, 180, 0.1);
    }

    .form-control-enhanced::placeholder {
        color: var(--stainless-steel);
    }

    .form-control-enhanced.is-invalid {
        border-color: #ef5350;
    }

        .form-control-enhanced.is-invalid:focus {
            border-color: #ef5350;
            box-shadow: 0 0 0 4px rgba(239, 83, 80, 0.1);
        }

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--lighter);
}

    .form-actions .btn {
        min-width: 120px;
    }

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
    height: 28px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.badge-env {
    background-color: var(--steel-cloud);
    color: var(--text-primary);
    border-color: var(--steel-silver);
}

.badge-active {
/*    background-color: #e8f5e9;*/
    color: #2e7d32;
/*    border-color: #81c784;*/
}

.badge-inactive {
/*    background-color: var(--lighter);*/
    color: var(--steel-slate);
/*    border-color: var(--stainless-steel);*/
}

.badge-expired {
/*    background-color: #ffebee;*/
    color: #c62828;
/*    border-color: #ef5350;*/
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.alert-form {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-form-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.alert-form-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal-overlay.active {
        display: flex !important;
    }

.modal-content {
    background: white;
    border-radius: 6px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lighter);
    background: var(--lighter);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .modal-close:hover {
        color: var(--text-primary);
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

.modal-body {
    padding: 20px;
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--stainless-steel);
    transition: 0.3s;
    border-radius: 26px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

.toggle-input:checked + .toggle-slider {
    background-color: var(--primary);
}

    .toggle-input:checked + .toggle-slider:before {
        transform: translateX(22px);
    }

.toggle-slider:hover {
    opacity: 0.9;
}

/* ============================================
   CLIENT ID & SECRET CONTAINERS
   ============================================ */
.client-id-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    padding-right: 40px; /* Add space for the icon */
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.copied-feedback {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 100;
    animation: copyFade 1.5s ease-in-out;
    pointer-events: none;
}

@keyframes copyFade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.client-id-container:hover {
    border-color: var(--border);
    background-color: #f8f9fa;
}

.client-id-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: default;
    user-select: all;
    border-radius: 4px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.copy-icon-hover {
    background: var(--primary);
    border: none;
    border-radius: 4px;
    padding: 4px;
    position: absolute; /* Change to absolute */
    right: 8px; /* Position from right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center vertically */
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    /* Remove: margin-left: 8px; */
}

    .copy-icon-hover svg {
        display: block;
    }

.client-id-container:hover .copy-icon-hover {
    display: flex;
}

.copy-icon-hover:hover {
    background: var(--secondary);
/*    transform: translateY(-50%) scale(1.1);*/
}

.secret-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s;
    max-width: 320px;
}

    .secret-container:hover {
        border-color: var(--border);
        background-color: #f8f9fa;
    }

.secret-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: default;
    line-height: 1.4;
    word-break: break-all;
    display: block;
    transition: background-color 0.2s;
    flex: 1;
}

    .secret-text.collapsed {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.secret-actions {
    display: none;
    gap: 4px;
    margin-left: 8px;
    flex-shrink: 0;
}

.secret-container:hover .secret-actions {
    display: flex;
}



.secret-action-btn {
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .secret-action-btn:hover {
        background: var(--secondary);

    }

    .secret-action-btn svg {
        display: block;
    }

.secret-full-view {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    padding: 12px;
    background-color: var(--lighter);
    border: 1px solid var(--border);
    border-radius: 4px;
    word-break: break-all;
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: all;
}

    .secret-full-view:hover {
        background-color: var(--soft-steel);
    }

/* ============================================
   INTERNAL ID DISPLAY
   ============================================ */
.internal-id {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    margin-top: 2px;
}

/* ============================================
   TOASTER NOTIFICATIONS
   ============================================ */
.toaster-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

    .toast.success {
        border-left-color: #81c784;
    }

    .toast.error {
        border-left-color: #ef5350;
    }

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #2e7d32;
}

.toast.error .toast-icon {
    color: #c62828;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

    .toast-close:hover {
        color: var(--text-primary);
    }

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease;
}

/* ============================================
   RADIO & CHECKBOX
   ============================================ */
.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
/*    cursor: pointer;*/
}

    .radio-option input[type="radio"] {
        margin-right: 6px;
        cursor: pointer;
    }

    .radio-option label {
        cursor: pointer;
        font-size: 14px;
        user-select: none;
    }

    /* Enabled */
    .radio-option input[type="radio"]:not(:disabled),
    .radio-option input[type="radio"]:not(:disabled) + label {
        cursor: pointer;
    }

    /* Disabled */
    .radio-option input[type="radio"]:disabled,
    .radio-option input[type="radio"]:disabled + label {
        cursor: default;
    }



.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: default;
    }

    .checkbox-container label {
        font-size: 14px;
        color: var(--text-primary);
        cursor: default;
    }

/* ============================================
   EMPTY STATE & ACTION BUTTONS
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state-text {
    font-size: 15px;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-muted {
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

.text-danger {
    color: #ef5350;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mt-2 {
    margin-top: 12px;
}

.mt-3 {
    margin-top: 16px;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-2 {
    gap: 12px;
}

.env-label {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 18px;
    margin-left: 4px;
}

.current-expiry-text {
    display: block;
    font-size: 12px;
    font-style: italic;
    color: var(--steel-gray);
    margin-bottom: 10px;
    margin-top: -2px;
}

    .current-expiry-text span {
        color: var(--primary);
        font-weight: 500;
    }
.admin-email {
    color: var(--primary-dark-blue);
    font-size: 14px;
    transition: color 0.3s ease;
}

    .admin-email:hover {
        color: white;
    }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet - 992px and below */
@media (max-width: 992px) {
    .data-table {
        min-width: 1000px;
    }

        .data-table th,
        .data-table td {
            padding: 10px 12px;
            font-size: 13px;
        }

    .action-buttons .btn {
        padding: 0 12px;
        font-size: 13px;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .app-header h1 {
        font-size: 20px;
    }

    .app-header .breadcrumb {
        font-size: 12px;
    }

    .card {
        padding: 16px;
    }

    .card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .card-header .btn {
            width: 100%;
        }

    .card-title {
        font-size: 16px;
    }

    .action-buttons {
        flex-direction: row;
        gap: 6px;
        justify-content: flex-start;
    }

        .action-buttons .btn {
            flex: 0 1 auto;
            min-width: fit-content;
            padding: 0 14px;
            font-size: 13px;
            height: 34px;
        }

        .action-buttons form {
            flex: 0 1 auto;
        }

            .action-buttons form .btn {
                width: auto;
            }

    .modal-content {
        max-width: 100%;
        margin: 10px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .data-table {
        font-size: 12px;
        min-width: 900px;
    }

        .data-table th {
            font-size: 10px;
            padding: 10px 8px;
        }

        .data-table td {
            padding: 10px 8px;
            font-size: 12px;
        }

    .badge {
        font-size: 11px;
        padding: 0 10px;
        height: 28px;
    }

    .form-compact .d-flex {
        flex-direction: column;
    }

        .form-compact .d-flex .btn {
            width: 100%;
        }

    .toaster-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        min-width: auto;
    }

    .form-card-header {
        padding: 20px 20px;
    }

    .form-card-title {
        font-size: 18px;
    }

    .form-card-body {
        padding: 24px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

        .form-actions .btn {
            width: 100%;
            min-width: auto;
        }

    .toggle-switch {
        width: 42px;
        height: 24px;
    }

    .toggle-slider:before {
        height: 18px;
        width: 18px;
    }

    .toggle-input:checked + .toggle-slider:before {
        transform: translateX(18px);
    }

    .client-id-container,
    .secret-container {
        padding: 5px 8px;
    }

    .client-id-text,
    .secret-text {
        font-size: 11px;
    }

    .internal-id {
        font-size: 10px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .app-header {
        padding: 12px 0;
    }

        .app-header h1 {
            font-size: 18px;
        }

        .app-header .breadcrumb {
            font-size: 11px;
        }

    .card {
        padding: 12px;
    }

    .card-title {
        font-size: 15px;
    }

    .btn {
        font-size: 12px;
        padding: 0 10px;
        height: 34px;
    }

    .btn-sm {
        height: 32px;
        padding: 0 8px;
        font-size: 11px;
    }

    .data-table {
        min-width: 800px;
    }

        .data-table th {
            font-size: 9px;
            padding: 8px 5px;
        }

        .data-table td {
            font-size: 11px;
            padding: 8px 5px;
        }

    .badge {
        font-size: 10px;
        padding: 0 8px;
        height: 24px;
    }

    .action-buttons {
        flex-direction: row;
        gap: 4px;
        width: 100%;
    }

        .action-buttons .btn {
            flex: 1;
            min-width: 0;
            padding: 0 8px;
            font-size: 11px;
            height: 32px;
        }

        .action-buttons form {
            flex: 1;
            min-width: 0;
        }

            .action-buttons form .btn {
                width: 100%;
                padding: 0 8px;
                font-size: 11px;
                height: 32px;
            }
    
            .empty-state {
            padding: 30px 15px;
        }

    .empty-state-text {
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-control {
        font-size: 14px;
        height: 36px;
    }

    .modal-body {
        padding: 16px;
    }

    .toast {
        font-size: 13px;
        padding: 12px 16px;
    }

    .form-card-header {
        padding: 16px;
    }

    .form-card-title {
        font-size: 16px;
    }

    .form-card-body {
        padding: 20px 16px;
    }

    .form-group-enhanced {
        margin-bottom: 20px;
    }

    .form-control-enhanced {
        padding: 10px 14px;
        font-size: 14px;
    }

    .current-expiry-text {
        font-size: 11px;
    }

    .toggle-switch {
        width: 38px;
        height: 22px;
    }

    .toggle-slider:before {
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
    }

    .toggle-input:checked + .toggle-slider:before {
        transform: translateX(16px);
    }

    .client-id-container,
    .secret-container {
        padding: 4px 6px;
    }

    .client-id-text,
    .secret-text {
        font-size: 10px;
    }

    .copy-icon-hover,
    .secret-action-btn {
        padding: 3px;
    }

        .copy-icon-hover svg,
        .secret-action-btn svg {
            width: 12px;
            height: 12px;
        }

    .internal-id {
        font-size: 9px;
    }
}

/* Extra Small - 360px */
@media (max-width: 360px) {
    .container {
        padding: 10px;
    }

    .card {
        padding: 10px;
    }

    .data-table {
        min-width: 700px;
    }
}

