/* JMS Admin Portal Custom Styles */

/* 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;
}

/* Admin Task Card */
.admin-task-card {
    border-radius: 15px;
    position: relative;
}

.admin-task-card-header {
    border-bottom: none;
}

.admin-task-card-body {
    padding-top: 0;
}

.admin-only-tag {
    background-color: #7578e1;
    color: #fff;
    border-top-right-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.inactive-tag {
    background-color: #c7c7d6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.card-toggle {
    cursor: pointer;
}

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

.bg-secondary { background-color: #fafafa !important; }
.bg-lavender { background-color: #f3f2f6 !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);
}

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

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

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

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