@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.footer-container {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.menu-panel {
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.project-name {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

.flex-center {
    display: flex;
    align-items: center;
}

/* General Table Styles */
table.table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Table Headers */
table.table th {
    background-color: #f1f3f5; /* Light Gray for better contrast */
    padding: 14px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

/* Table Cells */
table.table td {
    background-color: #ffffff;
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    color: var(--bs-secondary-color, #6c757d);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    table.table {
        font-size: 14px;
    }

        table.table th,
        table.table td {
            padding: 10px;
        }
}

.table-link {
    color: var(--bs-secondary-color, #6c757d); /* Uses Bootstrap's text-secondary */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out, transform 0.2s;
}

.table-link:hover {
    color: #0052CC; /* Deep Blue */
    text-decoration: none;
    transform: scale(1.05);
}

.edit-icon, .delete-icon {
    color: var(--bs-secondary-color, #6c757d); /* Gray */
    transition: color 0.3s ease-in-out, transform 0.2s;
    font-size: 16px;
    background: none;
    border: none;
}

.edit-icon:hover {
    color: #0052CC; /* Atlassian Deep Blue */
    transform: scale(1.2);
}
.delete-icon:hover {
    color: #BF2600; /* Deep Red */
    transform: scale(1.2);
}

.word-link, .delete-word {
    color: var(--bs-secondary-color, #6c757d); /* Gray */
    transition: color 0.3s ease-in-out, transform 0.2s;
    font-size: 16px;
}

.word-link:hover {
    color: #0052CC; /* Atlassian Deep Blue */
    transform: scale(1.05);
}

.delete-word:hover {
    color: #BF2600; /* Deep Red */
    transform: scale(1.05);
}

a.create-link {
    color: #007bff; /* Bootstrap primary blue */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a.create-link i {
    font-size: 14px;
    margin-right: 4px;
}

a.create-link:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: none;
}

.main, .secondary {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Styling for labels */
dt {
    font-weight: 600;
    color: #5e6c84; /* Atlassian gray */
}

/* Styling for details */
dd {
    margin-bottom: 10px;
    font-weight: 450;
    color: var(--bs-secondary-color, #6c757d);
}

/* Title Styles */
h1, h4, h3 {
    color: #172b4d; /* Atlassian Blue */
    font-weight: 600;
}

/* Links */
a {
    color: #0052cc;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: none;
    color: #0747a6;
}

/* Adjust border styling */
.border {
    border: 1px solid #dfe1e6;
}

/* List for child issues */
ol {
    padding-left: 20px;
}

li a {
    font-weight: 500;
}

/* Secondary Panel - Scrolling */
.secondary {
    overflow-y: auto;
    max-height: 40rem;
    padding: 16px;
    background: #f4f5f7;
}

/* Buttons / Links */
div a {
    font-size: 14px;
    font-weight: 500;
    color: #0052cc;
}

/* App Container */
.app-container {
    display: flex;
    width: 100%;
    min-height: calc(100% + 120px);
}


/* Profile Card */
.profile-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.profile-row {
    border-bottom: 1px solid #dee2e6;
    padding: 12px 0;
}

.user-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Header - Updated for modern header */
.main-header {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
}

.main-app-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    position: relative;
}

.project-container {
    width: 100%;
}

/* Global override: remove underlines from all anchors */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
}
