/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8faff;
}

.container {
    max-width: 1200px;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
}

.profile-header h4 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Profile Card */
.profile-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-card .card-header {
    background: #4e73df;
    color: #fff;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

/* Activity and Sessions */
.activity-item, .session-item {
    border-bottom: 1px solid #eee;
    padding: 0.75rem 1.25rem;
    transition: background 0.3s;
}

.activity-item:hover, .session-item:hover {
    background: #f1f3f5;
}

.session-active {
    border-left: 4px solid #28a745;
    background: #e9f7ef;
}

/* Modals */
.modal-header {
    background-color: #f7f9fc;
    border-bottom: none;
}

.modal-footer {
    background-color: #f7f9fc;
    border-top: none;
}

/* Forms */
.form-control:focus {
    border-color: #4e73df;
    box-shadow: none;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #374c98;
    border-color: #374c98;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(78, 115, 223, 0.075);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Action Buttons */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Cards */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Role badges */
.role-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin: 0.1rem;
}

/* User avatar placeholder */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}
