/**
 * Base Styles
 * Common styles shared across all templates.
 */

/* ============================================
   Base Element Styles
   ============================================ */
body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ============================================
   Typography
   ============================================ */
h3, h4 {
    margin-bottom: 15px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group label {
    font-weight: bold;
    color: #555;
}

.btn-primary {
    background-color: #0056b3;
    border: none;
}

.btn-primary:hover {
    background-color: #003d82;
}

/* ============================================
   User Info (Header)
   ============================================ */
.user-info {
    color: #fff;
    float: right;
    margin-top: 15px;
}

.user-info a {
    color: #fff;
    text-decoration: none;
}

.user-info a:hover {
    text-decoration: underline;
}

/* ============================================
   Loading Indicators
   ============================================ */
.loading-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
}

/* ============================================
   Utility Classes
   ============================================ */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-truncate-wrap {
    word-wrap: break-word;
    white-space: normal;
}

/* ============================================
   Card Styles
   ============================================ */
.card {
    margin-bottom: 1rem;
}

.card-header {
    font-weight: bold;
}

/* ============================================
   Alert/Flash Message Styles
   ============================================ */
.alert {
    margin-bottom: 1rem;
}

/* ============================================
   Table Styles
   ============================================ */
.table th {
    font-weight: 600;
}

/* ============================================
   Badge Styles
   ============================================ */
.badge {
    font-weight: 500;
}

/* ============================================
   Login/Account Container Styles
   ============================================ */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.account-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.login-container h2,
.account-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3;
}

.form-group {
    margin-bottom: 20px;
}

/* ============================================
   Project Card Styles
   ============================================ */
.project-card {
    margin-bottom: 20px;
}

.project-card .card-body {
    background-color: #e9ecef;
    border-radius: 5px;
    padding: 15px;
}

.project-card h5 {
    color: #0056b3;
}

.project-card p {
    color: #333;
}

.project-card .btn-primary {
    background-color: #0056b3;
    border: none;
}

.project-card .btn-primary:hover {
    background-color: #003d82;
}

/* ============================================
   Sidebar Active State
   ============================================ */
.sidebar li.active a {
    background-color: #0056b3;
}
