/* Custom styles for Client Management System */

/* Sidebar styles */
.sidebar {
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Dashboard card styles */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.5rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
}

/* Button styles */
.btn-outline-primary, .btn-outline-secondary, .btn-outline-danger {
    border-radius: 0.25rem;
}

/* Table styles */
.table th {
    border-top: none;
    color: #6c757d;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.03);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Form controls */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Badge customizations */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Modal customizations */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Timeline styles for task history */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 15px;
}

.timeline-item {
    position: relative;
    padding-bottom: 15px;
    padding-left: 15px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -23px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #007bff;
    z-index: 1;
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: -19px;
    top: 10px;
    width: 2px;
    height: 100%;
    background-color: #ddd;
}

.timeline-item:last-child:after {
    display: none;
}

.timeline-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

/* Login page styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.login-form {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        padding: 48px 0 0;
        box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    }
    
    .ms-sm-auto {
        margin-left: 0 !important;
    }
} 