:root {
    --jira-blue: #0052CC;
    --jira-blue-light: #4C9AFF;
    --jira-sidebar: #F4F5F7;
    --jira-text: #172B4D;
    --jira-border: #DFE1E6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--jira-text);
    overflow-x: hidden;
    position: relative;
}

/* Enhanced Card Styling */
.card {
    border: 1px solid rgba(76, 154, 255, 0.3);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 82, 204, 0.05);
    overflow: hidden;
}

#jira_tasks .card .card-header {
    background-color: rgba(76, 154, 255, 0.1) !important;
    border-bottom: 1px solid rgba(76, 154, 255, 0.2) !important;
}

.card .card-header h5 {
    color: var(--jira-blue);
}

/* Enhanced Table Styling */
.table {
    border: 1px solid rgba(76, 154, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0;
}

.table-light, .table thead {
    background-color: rgba(76, 154, 255, 0.1);
}

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

.table th, .table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(76, 154, 255, 0.2);
    vertical-align: middle;
}

/* Test Case Table Styling */
.test-case-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(76, 154, 255, 0.3);
    margin-bottom: 1.5rem;
}

.test-case-table th {
    background-color: rgba(76, 154, 255, 0.1);
    color: var(--jira-blue);
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(76, 154, 255, 0.3);
}

.test-case-table td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(76, 154, 255, 0.3);
    vertical-align: top;
}

.test-case-table tr:nth-child(even) {
    background-color: rgba(76, 154, 255, 0.03);
}

.test-case-table ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.test-case-table li {
    margin-bottom: 0.5rem;
}

.test-case-table li:last-child {
    margin-bottom: 0;
}

/* Markdown Content Styling */
.markdown-content {
    padding: 5px;
    border-radius: 6px;
    border: 1px solid rgba(76, 154, 255, 0.2);
    background-color: rgba(76, 154, 255, 0.05) !important;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.markdown-content table th {
    background-color: rgba(76, 154, 255, 0.1);
    color: var(--jira-blue);
    font-weight: 600;
    text-align: left;
    padding: 5px;
    border: 1px solid rgba(76, 154, 255, 0.3);
}

.markdown-content table td {
    padding: 5px;
    border: 1px solid rgba(76, 154, 255, 0.3);
    vertical-align: top;
}

.markdown-content table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.7);
}

.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3 {
    color: var(--jira-blue);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content h4, 
.markdown-content h5, 
.markdown-content h6 {
    color: var(--jira-text);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul, 
.markdown-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Task Card Styling */
.task-card {
    border: 1px solid rgba(76, 154, 255, 0.3);
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 82, 204, 0.05);
    transition: all 0.2s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 82, 204, 0.1);
}

/* Badge Styling */
.badge-story {
    background-color: #0052CC;
    color: white;
}

.badge-task {
    background-color: #36B37E;
    color: white;
}

.badge-bug {
    background-color: #FF5630;
    color: white;
}

.badge-epic {
    background-color: #6554C0;
    color: white;
}

/* Button Styling */
.create-btn {
    background-color: #0052CC;
    color: white;
}

.create-btn:hover {
    background-color: #0747A6;
    color: white;
}

/* List Group Styling */
.list-group-item {
    border-color: rgba(76, 154, 255, 0.2);
}

.list-group-item:hover {
    background-color: rgba(76, 154, 255, 0.05);
}

.navbar {
    background-color: var(--jira-blue);
    padding: 0.5rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: white;
    font-weight: bold;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar .nav-link:hover {
    color: white;
}

.sidebar {
    background-color: var(--jira-sidebar);
    height: 100%;
    border-right: 1px solid var(--jira-border);
    padding: 0;
    position: fixed;
    width: 250px;
    z-index: 100;
    top: 56px; /* Height of the navbar */
    bottom: 0;
    overflow-y: auto;
    left: 0;
}

.sidebar-item {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--jira-border);
    cursor: pointer;
}

.sidebar-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-item.active {
    background-color: rgba(9, 30, 66, 0.04);
    color: var(--jira-blue);
    font-weight: 500;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
    margin-top: 56px; /* Same as navbar height */
    min-height: calc(100vh - 56px);
}

.board-header {
    padding: 1rem;
    border-bottom: 1px solid var(--jira-border);
}

.board-columns {
    display: flex;
    overflow-x: auto;
    padding: 1rem;
    height: calc(100vh - 120px);
}

.board-column {
    min-width: 280px;
    background-color: #F4F5F7;
    border-radius: 3px;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(76, 154, 255, 0.2);
}

.column-header {
    padding: 0.75rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(76, 154, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(76, 154, 255, 0.1);
    color: var(--jira-blue);
}

.column-content {
    padding: 0.5rem;
    flex-grow: 1;
    overflow-y: auto;
}

.task-id {
    color: var(--jira-blue);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.task-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.priority-high {
    color: #E53935;
}

.priority-medium {
    color: #FB8C00;
}

.priority-low {
    color: #43A047;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #DDD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #555;
}

.search-box {
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* User Avatar */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--jira-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 200px;
}

/* Sidebar User Info */
.sidebar-user-info {
    padding: 1rem;
    border-bottom: 1px solid rgba(76, 154, 255, 0.2);
    margin-bottom: 1rem;
}

.sidebar-user-name {
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.sidebar-user-email {
    font-size: 0.85rem;
    color: #6c757d;
    word-break: break-all;
}

/* Login/Register Container */
.auth-container {
    max-width: 600px;
    margin: 60px auto;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    color: var(--jira-blue);
    font-weight: bold;
    font-size: 3rem;
}

.auth-logo p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Login Form Styling */
.card-header.bg-primary {
    background-color: var(--jira-blue) !important;
    padding: 1rem 1.5rem;
}

.form-control-lg.bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--jira-blue);
    border-color: var(--jira-blue);
}

.btn-primary:hover {
    background-color: #0043a9;
    border-color: #0043a9;
}

.btn-outline-primary {
    color: var(--jira-blue);
    border-color: var(--jira-blue);
    padding: 0.5rem 2rem;
}

.btn-outline-primary:hover {
    background-color: var(--jira-blue);
    color: white;
}

/* Form labels */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
