/* lcl-dooraccess.teamspan.com/links/style.css */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.landing-page .hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    padding: 5rem 0;
}

.landing-page .feature-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--gray-light);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0b5ed7 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.3);
}

.table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    color: var(--gray);
    background-color: var(--light);
    padding: 0.75rem 1rem;
}

.table td {
    vertical-align: middle;
    border-color: var(--gray-light);
    padding: 1rem;
}

.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.badge {
    border-radius: 20px;
    padding: 0.35em 0.65em;
    font-weight: 500;
    font-size: 0.75em;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.footer {
    background-color: var(--light);
    border-top: 1px solid var(--gray-light);
    padding: 1rem 0;
    margin-top: auto;
}

.access-granted {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.access-denied {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.edit-permission-btn, .delete-permission-btn {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}