/* Bot Management Styles */
.bot-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow: hidden;
}

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

.bot-card:focus-within {
    box-shadow: 0 0 0 3px rgba(103, 126, 234, 0.25);
}

.bot-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 1.25rem 1rem;
}

.add-bot-card {
    border: 2px dashed #e3e6f0;
    background: rgba(103, 126, 234, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.add-bot-card:hover {
    border-color: #667eea;
    background: rgba(103, 126, 234, 0.1);
    transform: translateY(-2px);
}

.bot-info {
    background: rgba(103, 126, 234, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
    background: transparent;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    border-width: 1px;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.05);
    border-color: #dc3545;
}

.btn-outline-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    margin: 0 0.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-new {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.btn-add-new:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
        text-align: center;
    }

    .page-header::before,
    .page-header::after {
        display: none;
    }

    .header-title {
        font-size: 1.8rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .stat-item {
        margin: 0.25rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
    }

    .btn.flex-grow-1 {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }

    .btn-outline-danger {
        align-self: center;
        width: auto;
    }
}

@media (max-width: 576px) {
    .page-header {
        border-radius: 15px;
        margin: 0 0.5rem 1.5rem;
    }

    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .bot-card-header {
        padding: 1rem;
    }

    .webhook-url {
        font-size: 0.6rem;
    }

    .bot-info {
        font-size: 0.8rem;
    }

    .row .col-4 {
        margin-bottom: 0.5rem;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%) !important;
}

[data-theme="dark"] .page-header .container-fluid {
    background: transparent !important;
}

[data-theme="dark"] .page-header .row {
    background: transparent !important;
}

[data-theme="dark"] .page-header .col-lg-6,
[data-theme="dark"] .page-header .col-md-12,
[data-theme="dark"] .page-header .col-4 {
    background: transparent !important;
}

[data-theme="dark"] .page-header::before {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .page-header::after {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .header-content {
    background: transparent;
}

[data-theme="dark"] .header-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-add-new {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-add-new:hover {
    background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .bot-card {
    background: #2d3748;
    border: 1px solid #4a5568;
}

[data-theme="dark"] .bot-card-header {
    background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%);
}

[data-theme="dark"] .bot-card .card-body {
    background: #2d3748;
}

[data-theme="dark"] .bot-info {
    background: rgba(76, 81, 191, 0.1);
    color: #e2e8f0;
}

[data-theme="dark"] .add-bot-card {
    background: #2d3748;
    border-color: #4a5568;
}

[data-theme="dark"] .add-bot-card:hover {
    border-color: #667eea;
    background: rgba(103, 126, 234, 0.1);
}

[data-theme="dark"] .add-bot-card .card-title {
    color: #81a1c1;
}

[data-theme="dark"] .add-bot-card .card-text {
    color: #a0aec0;
}

[data-theme="dark"] .add-bot-card .fas.fa-plus-circle {
    color: #81a1c1;
}

/* Bot Create Form Styles */
.create-form-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.create-form-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-section {
    padding: 2rem;
    border-radius: 15px;
    background: rgba(103, 126, 234, 0.02);
    border: 1px solid rgba(103, 126, 234, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-section:hover {
    background: rgba(103, 126, 234, 0.05);
    border-color: rgba(103, 126, 234, 0.2);
}

.section-title {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(103, 126, 234, 0.1);
}

.section-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.enhanced-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.enhanced-form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.field-icon {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.enhanced-form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.enhanced-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25);
    background: rgba(103, 126, 234, 0.02);
}

.enhanced-form-control:hover {
    border-color: rgba(103, 126, 234, 0.5);
}

.enhanced-input-group {
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
}

.enhanced-input-group .enhanced-form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 0.75rem 1rem;
}

.enhanced-input-group .toggle-password {
    border: 2px solid #e9ecef;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #f8f9fa;
    color: #667eea;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    flex-shrink: 0;
    width: auto;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1;
}

.enhanced-input-group .toggle-password:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.enhanced-input-group:focus-within .toggle-password {
    border-color: #667eea;
}

.enhanced-input-group:focus-within .enhanced-form-control {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25);
    background: rgba(103, 126, 234, 0.02);
}

.form-help-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    font-style: italic;
}

.btn-create-bot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(103, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-create-bot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
    color: white;
}

.btn-create-bot:active {
    transform: translateY(0);
}

.form-actions {
    background: rgba(103, 126, 234, 0.02);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(103, 126, 234, 0.1);
    text-align: center;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    text-decoration: none;
    margin-right: 0.75rem;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Create Form Dark Mode Styles */
[data-theme="dark"] .create-form-card {
    background: #2d3748;
    border: 1px solid #4a5568;
}

[data-theme="dark"] .form-section {
    background: rgba(103, 126, 234, 0.08);
    border-color: rgba(103, 126, 234, 0.2);
}

[data-theme="dark"] .form-section:hover {
    background: rgba(103, 126, 234, 0.12);
    border-color: rgba(103, 126, 234, 0.3);
}

[data-theme="dark"] .section-title {
    color: #a0aec0;
    border-bottom-color: rgba(103, 126, 234, 0.2);
}

[data-theme="dark"] .enhanced-form-group label {
    color: #a0aec0;
}

[data-theme="dark"] .field-icon {
    color: #81a1c1;
}

[data-theme="dark"] .enhanced-form-control {
    background: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .enhanced-form-control:focus {
    background: rgba(103, 126, 234, 0.08);
    border-color: #667eea;
    color: #e2e8f0;
}

[data-theme="dark"] .enhanced-form-control:hover {
    border-color: rgba(103, 126, 234, 0.6);
}

[data-theme="dark"] .enhanced-form-control::placeholder {
    color: #718096;
}

[data-theme="dark"] .enhanced-input-group .toggle-password {
    background: #2d3748;
    border-color: #4a5568;
    color: #81a1c1;
}

[data-theme="dark"] .enhanced-input-group .toggle-password:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

[data-theme="dark"] .enhanced-input-group:focus-within .toggle-password {
    border-color: #667eea;
}

[data-theme="dark"] .enhanced-input-group:focus-within .enhanced-form-control {
    border-color: #667eea;
    background: rgba(103, 126, 234, 0.08);
}

[data-theme="dark"] .form-help-text {
    color: #a0aec0;
}

[data-theme="dark"] .form-actions {
    background: rgba(103, 126, 234, 0.08);
    border-color: rgba(103, 126, 234, 0.2);
}

[data-theme="dark"] .error-message {
    color: #fc8181;
}

[data-theme="dark"] .enhanced-form-control.is-invalid {
    border-color: #fc8181;
}

[data-theme="dark"] .enhanced-form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(252, 129, 129, 0.25);
    border-color: #fc8181;
}

[data-theme="dark"] .btn-back {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Bot Show Page Styles */
.status-badge {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.3);
    position: relative;
    z-index: 2;
}

.btn-log {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.btn-log:hover {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.webhook-display-card {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px dashed #667eea;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.webhook-display-card:hover {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: #5a67d8;
    transform: translateY(-2px);
}

.webhook-url {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    word-break: break-all;
    margin: 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(103, 126, 234, 0.2);
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 70px;
    text-align: center;
}

.copy-btn:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

.copy-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(103, 126, 234, 0.3);
}

.details-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.details-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.enhanced-form-control[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
}

.btn-update-bot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(103, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-update-bot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
    color: white;
}

.btn-update-bot:active {
    transform: translateY(0);
}

/* Show Page Responsive Styles */
@media (max-width: 768px) {
    .btn-back, .btn-log {
        margin-bottom: 0.5rem;
        margin-right: 0;
        width: 100%;
        text-align: center;
        display: block;
    }

    .btn-back {
        margin-bottom: 0.75rem;
    }
}

/* Show Page Dark Mode Styles */
[data-theme="dark"] .status-badge {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.2);
}

[data-theme="dark"] .btn-log {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.2);
}

[data-theme="dark"] .btn-log:hover {
    background: rgba(255, 193, 7, 0.25);
}

[data-theme="dark"] .webhook-display-card {
    background: linear-gradient(135deg, rgba(76, 81, 191, 0.1), rgba(85, 60, 154, 0.1));
    border-color: #667eea;
}

[data-theme="dark"] .webhook-url {
    background: rgba(45, 55, 72, 0.8);
    color: #81a1c1;
    border-color: rgba(103, 126, 234, 0.3);
}

[data-theme="dark"] .details-card {
    background: #2d3748;
    border: 1px solid #4a5568;
}

[data-theme="dark"] .enhanced-form-control[readonly] {
    background: #2d3748;
    color: #a0aec0;
}

/* Bot Log Page Styles */
.btn-prune {
    background: rgba(220, 53, 69, 0.15);
    border: 2px solid rgba(220, 53, 69, 0.6);
    color: #dc3545;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.btn-prune:hover {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    text-decoration: none;
}

.log-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.log-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header-custom {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 2px solid rgba(103, 126, 234, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
}

.card-title-custom {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.card-title-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.test-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    min-height: 300px;
}

.test-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.coming-soon-alert {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border: 2px dashed #ffc107;
    border-radius: 15px;
    color: #856404;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.coming-soon-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffc107;
    margin: 0 auto 1rem;
}

/* DataTable Styling */
.dataTables_wrapper {
    padding: 0;
}

.dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_filter input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.dataTables_filter input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25);
    outline: none;
}

.dataTables_length select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin: 0 0.5rem;
}

.table {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 0.875rem 0.75rem;
    border-color: #e9ecef;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(103, 126, 234, 0.05);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-200 {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-400, .status-404, .status-500 {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-other {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-request {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

.type-response {
    background: rgba(103, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid rgba(103, 126, 234, 0.3);
}

.json-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    max-width: 300px;
    max-height: 100px;
    overflow: auto;
    word-break: break-all;
}

/* Log Page Responsive Styles */
@media (max-width: 768px) {
    .btn-back, .btn-prune {
        margin-bottom: 0.5rem;
        margin-right: 0;
        width: 100%;
        text-align: center;
        display: block;
    }

    .btn-back {
        margin-bottom: 0.75rem;
    }

    .table-responsive {
        border-radius: 10px;
    }
}

/* Log Page Dark Mode Styles */
[data-theme="dark"] .btn-prune {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

[data-theme="dark"] .btn-prune:hover {
    background: rgba(220, 53, 69, 0.25);
}

[data-theme="dark"] .log-card,
[data-theme="dark"] .test-card {
    background: #2d3748;
    border: 1px solid #4a5568;
}

[data-theme="dark"] .card-header-custom {
    background: linear-gradient(135deg, rgba(76, 81, 191, 0.1), rgba(85, 60, 154, 0.1));
    border-bottom-color: rgba(103, 126, 234, 0.2);
}

[data-theme="dark"] .card-title-custom {
    color: #a0aec0;
}

[data-theme="dark"] .coming-soon-alert {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.03));
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

[data-theme="dark"] .table tbody td {
    color: #e2e8f0;
    border-color: #4a5568;
}

[data-theme="dark"] .table tbody tr:hover {
    background: rgba(103, 126, 234, 0.08);
}

[data-theme="dark"] .json-display {
    background: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .dataTables_wrapper {
    color: #e2e8f0;
}

[data-theme="dark"] .dataTables_filter input {
    background: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .dataTables_filter input:focus {
    border-color: #667eea;
}

[data-theme="dark"] .dataTables_length select {
    background: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .dataTables_info,
[data-theme="dark"] .dataTables_paginate {
    color: #a0aec0;
}

[data-theme="dark"] .page-link {
    background: #2d3748;
    border-color: #4a5568;
    color: #a0aec0;
}

[data-theme="dark"] .page-link:hover {
    background: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
}
