/* Tenant Management Custom Styles */

/* Breadcrumb styling */
.breadcrumb {
    background-color: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: #858796;
}

.breadcrumb-item a {
    color: #4e73df;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #2e59d9;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #858796;
}

.tenant-actions .btn {
    margin-right: 5px;
}

.tenant-actions .btn:last-child {
    margin-right: 0;
}

.badge-primary {
    background-color: #4e73df;
}

.badge-success {
    background-color: #1cc88a;
}

.table th {
    background-color: #f8f9fc;
    border-color: #e3e6f0;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

.form-group label {
    font-weight: 600;
    color: #5a5c69;
}

.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.btn-group .btn {
    border-radius: 0.35rem;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
}

.alert {
    border-radius: 0.35rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tenant-actions .btn {
        margin-bottom: 5px;
        display: block;
        width: 100%;
    }

    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Animation for alerts */
.alert-dismissible .close {
    padding: 0.75rem 1.25rem;
}

/* Custom styling for connection string display */
.connection-string-display {
    background-color: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    word-break: break-all;
}

/* Tenant ID styling */
.tenant-id {
    font-family: 'Courier New', monospace;
    background-color: #f8f9fc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}