/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #43425d;
    background-color: #fafafa;
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.btn-lg {
    font-size: 14px;
}

.btn-primary {
    color: #fff;
    border-color: #7578e1;
    background-color: #7578e1;
}

.btn-primary:hover {
    border-color: #585bdb;
    background-color: #585bdb;
}

.btn-primary:active {
    border-color: #8a8ce6;
    background-color: #8a8ce6;
}

.btn-secondary {
    color: #fff;
    border-color: #43425d;
    background-color: #43425d;
}

.btn-secondary:hover {
    background-color: #323145;
    border-color: #323145;
}

.btn-outline-primary {
    background-color: #fff;
    border-color: #7578e1;
    color: #7578e1;
}

.btn-outline-primary:hover {
    background-color: rgba(117, 120, 225, 0.05);
}

/* Cards */
.card {
    border-radius: 15px;
    border: 1px solid #dedee7;
    margin-bottom: 1.5rem;
    background: #fff;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dedee7;
    font-weight: 600;
    color: #43425d;
    border-radius: 15px 15px 0 0 !important;
}

/* Circle Avatars */
.circle {
    width: 35px;
    height: 35px;
    background-color: #bcbbcf;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

.circle-sm {
    min-width: 25px;
    min-height: 25px;
    max-width: 25px;
    max-height: 25px;
    background-color: #bcbbcf;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
}

/* Badges/Status */
.badge {
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
}

.badge-primary {
    background-color: #7578e1;
    color: #fff;
}

.badge-success {
    background-color: #00bda5;
    color: #fff;
}

.badge-warning {
    background-color: #febf0a;
    color: #43425d;
}

.badge-danger {
    background-color: #f23657;
    color: #fff;
}

/* Gradient Background */
.purple-gradient {
    background: linear-gradient(135deg, #944c93 0%, #7578e1 100%);
    color: #fff;
}

/* Nav Tabs */
.nav-link.active {
    color: #944c93 !important;
    background-color: transparent !important;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid #944c93;
}

/* Links */
a {
    color: #0091ae;
}

a:hover {
    color: #006f85;
    text-decoration: none;
}

/* Utility Classes */
.text-primary { color: #43425d !important; }
.text-secondary { color: #808495 !important; }
.text-tertiary { color: #616162 !important; }
.text-purple { color: #7578e1 !important; }
.text-cyan { color: #0091ae !important; }

.bg-secondary { background-color: #fafafa !important; }
.bg-tertiary { background-color: #f8f8fa !important; }
.bg-lavender { background-color: #f3f2f6 !important; }

.border-lavender { border-color: #e7e6f8 !important; }

/* Form Controls */
.form-control {
    border: 1px solid #dedee7;
    border-radius: 5px;
    color: #43425d;
}

.form-control:focus {
    border-color: #7578e1;
    box-shadow: 0 0 0 0.2rem rgba(117, 120, 225, 0.1);
}

/* Tables */
.table {
    color: #43425d;
}

.table thead th {
    font-weight: 600;
    border-bottom: 2px solid #dedee7;
}

.table thead.purple-gradient th {
    color: #fff;
    border-bottom: none;
}

/* Resource Button */
.resource-btn {
    background-color: #f3f2f6;
    border: 1px solid #dedee7;
    color: #43425d;
    font-size: 11px;
}

.resource-btn:hover {
    background-color: #e7e6f8;
}

/* Circle Link (Icon Buttons) */
.circle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f2f6;
    color: #43425d;
    text-decoration: none;
    transition: background-color 0.2s;
}

.circle-link:hover {
    background-color: #e7e6f8;
    color: #7578e1;
    text-decoration: none;
}

.circle-link.red-dot {
    position: relative;
}

.circle-link.red-dot::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #f23657;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #dedee7;
}

.navbar .logo img {
    height: 40px;
    width: auto;
}
