@font-face {
    font-family: politi;
    src: url(../fonts/Politi-Regular.ttf);
  }

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

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Modern Header Styles */
.modern-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo-container {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-logo {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-nav-link:hover::before {
    left: 100%;
}

.modern-nav-link:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.modern-nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.modern-nav-link:hover i {
    transform: scale(1.1);
}

/* User Menu */
.user-menu {
    flex-shrink: 0;
}

.login-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu-item {
    position: relative;
}

.modern-user-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-user-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.modern-user-link:hover::before {
    left: 100%;
}

.modern-user-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logout-link:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.modern-user-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.modern-user-link:hover i {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-wrapper {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .modern-nav-link,
    .modern-user-link {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .header-logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-nav {
        order: 2;
        width: 100%;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .user-menu {
        order: 3;
        width: 100%;
    }
    
    .login-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .modern-nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .login-links {
        flex-direction: column;
        width: 100%;
    }
    
    .modern-user-link {
        width: 100%;
        justify-content: center;
    }
}

textarea:read-only:hover {
    cursor: not-allowed;
}

input:read-only:hover {
    cursor: not-allowed;
}

input.checkbox:read-only:hover {
    cursor: pointer;
}

.header-wrapper {
    width: 100%;
    height: 6vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #7a8287;
    margin: 10px 0 20px 0;
}

button:hover {
    cursor: pointer;
}

.logo-container, .nav-links, .login-links {
    display: flex;
    margin: 0;
}

.logo-container {
    flex: 1;
}

.logo {
    font-weight: 400;
    margin: 5px;
}

.logo-container img {
    width: 160px;
    margin-left: 20px;
}

nav {
    flex: 3;
}

.nav-links {
    justify-content: space-around;
    list-style: none;
}

.login-links {
    list-style: none;
    justify-content: flex-end;
}

.nav-link, .login-link {
    color: #e6e6e6;
    font-size: 1rem;
    text-decoration: none;
}

.nav-link:hover, .login-link:hover, .journal a:hover {
    color: #d4e741;
    text-decoration: none;
}

.dropdown .dropbtn {
    color: #e6e6e6;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
    color: #d4e741;
    text-decoration: none;
    outline: none;
}

.show {
    display: block;
}

.login-link {
    margin: 10px;
}

.login {
    flex: 1;
}

.login-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.login-form .wrapper {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.login-form img {
    width: 200px;
    margin-bottom: 20px;
}

.login-form h2 {
    text-align: center;
    margin: 15px 0;
}

.login-form form {
    width: 400px;
    text-align: start;
}

.login-form form #submit {
    text-align: center;
    margin: 25px 0;
}

.login-form form #submit input {
    width: 200px;
    background-color: #ff0000;
    border-color: #ff0000;
}

footer {
    margin-top: auto;
    width: 100%;
    height: 42px;
    background: #51595f;
    display: flex;
}

.footer {
    display: flex;
    margin: auto;
    justify-content: center;
}

.footer h1 {
    font-size: 18px;
    margin: 0;
    padding: 10px 0;
}

.mid-line {
    border-bottom: 1px solid #7a8287
}

main {
    display: flex;
    margin: 0 10vw;
    margin-bottom: 20px;
}

main.licenseEmne {
    flex-flow: column;
}

.employed {
    width: 100%;
}

.afdeling-content {
    display: flex;
}

.afdeling-content .buttons {
    margin: 6px 0;
    width: 100%;
    justify-content: flex-end;
}

.afdeling-content .buttons a {
    width: 240px;
    padding: 5px;
    font-size: 14px;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    margin: 0 10px;
    background: none;
    text-transform: uppercase;
}

.afdeling-content .buttons a:hover {
    color: #d4e741;
    text-decoration: none;
    background: none;
}

.afdeling-content .buttons a i {
    margin-right: 5px;
}

h1, h2, h3, h4, h5, h6 {
    color: #e6e6e6;
}

.buttons {
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.buttons button {
    width: 300px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #2aa198;
    border: 0px solid #61686c;
    border-radius: 3px;
}

.buttons button:focus {
    outline: none;
}

.buttons a {
    width: 300px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #2aa198;
    border: 0px solid #61686c;
    border-radius: 3px;
    text-align: center;
}

.buttons a:hover {
    text-decoration: none;
    background: #218079;
}

.afdelinger {
    margin-bottom: 2em;
}

.afdeling {
    background-color: #3a3f44;
    border: 1px solid #272a2f;
    border-radius: 3px;
}

.afdeling h2 {
    padding: 5px;
    margin: 0;
    color: #e6e6e6;
    width: 100%;
    font-size: 21px;
}

.users {
    border-top: 1px solid #272a2f;
    border-bottom: 1px solid #272a2f;
    background-color: #7a8287;
}

.user-popup {
    display: flex;
    background-color: #44494d;
    align-items: center;
    padding: 5px;
    border: none;
    width: 100%;
    border-top: 1px solid #272a2f;
    border-bottom: 1px solid #272a2f;
}

.user-popup:hover {
    text-decoration: none;
}

.user-popup i {
    font-size: 1.25rem;
    margin-right: 10px;
    color: #e6e6e6;
}

.user-popup h3 {
    margin: 0px;
    color: #e6e6e6;
}

.user-popup:hover {
    cursor: pointer;
}

.user-popup:focus {
    outline: none;
}

.create-user {
    width: 40%;
    margin: auto;
}

.create-user #submit {
    text-align: center;
}

.create-user #submit input {
    width: 200px;
}

.create-user #admin {
    text-align: center;
}

.create-user h2 {
    margin-bottom: 30px;
}

.create-afdeling {
    width: 50%;
    margin: auto;
    text-align: center;
}

.create-afdeling #submit, .update {
    text-align: center;
}

.create-afdeling #submit input {
    width: 200px;
}

.create-afdeling #admin {
    text-align: center;
}

.create-afdeling h2 {
    margin-bottom: 30px;
}

.manage-afdelinger {
    display: flex;
    flex-flow: column;
    margin: 0 10vw;
}

.manage-afdelinger .manage-afdeling {
    display: flex;
    margin: 10px 0;
    justify-content: space-evenly;
    align-items: center;
}

.manage-afdelinger input {
    text-align: center;
    margin: 0;
    height: 35px;
}

.manage-afdelinger input.id {
    width: 50px;
}

.manage-afdelinger input.btn,
.manage-afdelinger button,
.manage-afdelinger .manage-afdeling a {
    text-align: center;
    height: auto;
    padding: 5px 20px;
    height: 35px;
}

.manage-afdelinger p span {
    text-decoration: underline;
}

.user, .myprofile {
    width: 80%;
    margin: auto;
    margin-bottom: 40px;
}

.myprofile h1 {
    text-align: center;
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.user-header-text, .user-header-buttons {
    display: flex;
    flex: 1;
}

.user-header-text {
    justify-content: flex-start;
}

.user-header-buttons {
    justify-content: space-around;
}

.user-header-buttons button {
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: none;
    border: none;
}

.user-header-buttons button:focus {
    outline: none;
}

.user-header-buttons a {
    padding: 5px;
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.user-header-buttons button:hover, .user-header-buttons a:hover {
    color: #d4e741;
    text-decoration: none;
}

.user h2 {
    padding: 5px;
    margin: 0;
    font-size: 1.5rem;
}

.user h3, .user h4 {
    margin: 0;
    color: #e5e5e5;
}

.user h3 {
    margin-bottom: 10px;
}

.user p {
    margin: 0;
}

.sexy_line { 
    display:block;
    border:none;
    color:white;
    height:1px;
    background:#ddd;
}

.user-form-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #32383e;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.3rem;
}

.user-form-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.user-form-content .form-group#admin {
    text-align: center;
}

.journal {
    width: 100%;
}

.journal table {
    border-radius: 3px;
}

.journal-search {
    width: 70%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 40px;
}

.journal a {
    text-decoration: none;
    color: #e6e6e6;
}

.links {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.journal #result {
    display: flex;
    justify-content: center;
}

.journal .search-text {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.journal .search-text button.no-users {
    background: none;
    border: none;
}

.journal .search-text button.no-users h3 {
    font-size: 22px;
    margin: 0;
}

.journal .search-text button.no-users h3:hover {
    color: #d4e741;
}

.journal .search-text button.no-users:focus {
    outline: none;
}

.journal .modal-dialog {
    max-width: 700px;
}

.journal .btn-primary {
    width: 200px;
}

.player table {
    border-collapse: collapse;
    width: 100%;
}

.player th, .player td {
    border: 0px solid #ddd;
    text-align: left;
    padding: 8px;
}

.player td.kr_action {
    display: flex;
}

.player button.edit, .player button.delete {
    border: none;
    background: none;
    font-size: 28px;
    display: flex;
    color: #2aa198;
    margin-right: 5px;
}

.player a.edit {
    border: none;
    background: none;
    font-size: 28px;
    display: flex;
    color: #24a0ed;
    margin-right: 5px;
}

.player a.edit:hover {
    text-decoration: none;
}

.player button.delete {
    color: #ec4d49;
}

.player button.edit:focus, .player button.delete:focus {
    outline: none;
}

.player {
    width: 90%;
    margin: auto;
    display: flex;
    flex-flow: column;
}

.player-header {
    display: flex;
    padding: 8px;
    border-radius: 3px;
    background-color: #3a3f44;
    margin-bottom: 20px;
}

.player-info {
    display: flex;
    position: relative;
}

.player-image {
    display: flex;
    position: relative;
    min-width: 200px;
    max-width: 200px;
    height: 300px;
}

.player-info {
    flex-wrap: wrap;
    align-items: center;
    margin-left: 20px;
}

.info-column {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.info-text {
    display: flex;
    flex: 1;
    margin-right: 10px;
}

.info-text h2 {
    display: flex;
    word-wrap: break-word;
    margin: 0;
    align-items: center;
    font-size: 24px;
    margin-right: 10px;
}

.player-image img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: contain;
}

.player-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Initially transparent */
    border-radius: 3px; /* Match the border-radius of the image */
    transition: background-color 0.3s; /* Smooth transition for the overlay */
}

.player-image:hover::before {
    background-color: rgba(0, 0, 0, 0.5); /* Black color overlay with 50% opacity on hover */
}

.player h2.header {
    margin: 20px 0;
    text-align: center;
}

.buttons {
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.buttons button {
    width: 300px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #2aa198;
    border: 0px solid #61686c;
    border-radius: 3px;
}

.buttons button:focus {
    outline: none;
}

.buttons a {
    width: 300px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #2aa198;
    border: 0px solid #61686c;
    border-radius: 3px;
    text-align: center;
}

.buttons a:hover {
    text-decoration: none;
    background: #218079;
}

.profile-add #buttons {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.profile-add #buttons button {
    width: 100px;
    margin-right: 10px;
}

.custom-file {
    margin-bottom: 20px;
}

.kr-add .modal-dialog {
    max-width: 800px;
}

.player-image:hover button {
    display: block;
    transition: 0.3s;
}

.player-image button {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    z-index: 100;
    color: #d4e741;
    font-weight: bold;
    font-size: 13px;
}

.krim-header {
    background-color: #3a3f44;
    border: 1px solid #272a2f;
    border-radius: 3px;
    margin-top: 20px;
}

.krim-header h2 {
    padding: 8px;
    margin: 0;
    color: #e6e6e6;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.wanted-text button {
    width: 120px;
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    font-weight: 700;
    background: none;
    text-transform: uppercase;
}

.wanted-text button:hover {
    cursor: pointer;
    color: #d4e741;
    text-decoration: none;
    background: none;
}

.fleet-wrapper {
    width: 100%;
    margin-bottom: 20vh;
}

.fleet-uncategorized, .fleet-category {
    background-color: #3a3f44;
    border: 1px solid #272a2f;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.fleet-uncategorized-list, .fleet-categorized-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.fleet-uncategorized h1 {
    margin: 0;
    margin-left: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #7a8287;
    font-size: 2rem;
}

.fleet-user-container {
    display: flex;
    background-color: rgba(255,255,255,0.05);
    width: calc(20% - 10px);
    height: 75px;
    margin: 5px;
    padding: 5px;
    color: #e6e6e6;
}

.fleet-user-informations {
    flex: 90%;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}

.fleet-user-informations i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 5px;
    text-align: center;
}

.fleet-user-icons {
    flex: 10%;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    position: relative;
}

.fleet-user-icons button {
    border: none;
    background: none;
    color: #e6e6e6;
    position: relative;
    width: 20px;
    height: 20px;
}

.fleet-user-icons button i, .fleet-user-icons a i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
}

.fleet-user-icons a {
    text-align: center;
    width: 20px;
    height: 20px;
}

.fleet-user-task {
    display: flex;
    align-items: center;
    height: 20px;
}

.fleet-user-task i {
    margin-top: 2px;
}

.fleet-user-task p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.fleet-user-icons button:hover {
    color: #d4e741;
    text-decoration: none;
}

.fleet-user-icons a:hover {
    color: #d4e741;
    text-decoration: none;
}

.fleet-user-icons button:focus {
    outline: none;
}

.fleet-user-icons-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    background-color: #272b30;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    top: -30px; 
    left: 100%;
}

.fleet-user-icons-content a {
    color: #e6e6e6;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.fleet-user-icons-content a:hover {
    color: #d4e741;
    text-decoration: none;
}

.fleet-user-icons button.hoverBtn:hover .fleet-user-icons-content {
    display: block;
}

.fleet-categorized {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.fleet-category {
    flex: 100%;
    margin: 0 0 10px;
}

.fleet-category .fleet-user-container {
    width: calc(20% - 10px);
}

.fleet-category h1 {
    margin: 0;
    margin-left: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #7a8287;
    font-size: 2rem;
}

.journals-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.journals-back-container {
    position: absolute;
    top: 0;
    left: 5%;
}

.journals-back-container a:hover {
    color: #d4e741;
    text-decoration: none;
}

.journals-container {
    width: 70%;
    padding: 20px;
}

.journals-container .form-groups {
    display: flex;
    gap: 20px;
}

.journals-container .form-groups .form-group {
    flex: 1;
    margin-bottom: 2rem;
}

.journals-container .form-group {
    margin-bottom: 2rem;
}

.journals-container .form-group#submit {
    display: flex;
    justify-content: center;
}

.journals-container .form-checkboxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 2rem;
    gap: 10px;
    padding: 0 10px;
}

.journals-container .form-checkboxes .form-checkbox {
    min-width: 200px;
    display: flex;
    align-items: center;
}

.form-checkbox input.form-control {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}

.form-checkboxes .form-group input.form-control {
    height: 25px;
}

.form-checkboxes .form-group {
    margin: 0;
    margin-left: 15px;
}

.form-checkbox input.form-control:hover {
    cursor: pointer;
}

.journals-container h3, .journals-container p.sub-header {
    width: 100%;
    border-bottom: 1px solid #7a8287;
    padding-bottom: 2px;
}

.journals-container p.sub-header {
    margin-bottom: 10px;
}

#big-text-table {
    margin: 0;
}

#big-text-table td p.big-text {
    overflow: hidden;
    max-width: 25ch;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.profile {
    margin: 20px 0;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.profile-pictures {
    display: flex;
}

.profile-pictures img {
    max-width: 20vw;
    border-radius: 3px;
}

.profile-informations {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.profile-informations .profile-information {
    flex: 1;
    display: flex;
    flex-flow: column;
}

.profile-informations .profile-information:first-child {
    align-items: flex-end;
    margin-right: 20px;
}

.profile-informations .profile-information p {
    font-size: 20px;
    margin: 0;
}

.profile-informations .profile-information p span {
    text-decoration: underline;
}

.profile-actions {
    margin: 20px 0;
    display: flex;
    justify-content: space-evenly;
}

.profile-actions .profile-action {
    display: flex;
}

.profile-actions .profile-action button {
    flex: 1;
    min-width: 200px;
    padding: 5px;
    font-size: 16px;
    color: #fff;
    background: #00AF66;
    border: 1px solid #008c51;
    border-radius: 3px;
}

.profile-actions .profile-action a {
    flex: 1;
    min-width: 200px;
    height: 100%;
    color: #fff;
    background: #00AF66;
    border: 1px solid #008c51;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-actions .profile-action a:hover {
    text-decoration: none;
}

.profile-actions .profile-action span {
    margin-left: 10px;
}

/* Main Content Area */
.main-content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Accordion Styling */
.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item .card-header {
    background: transparent;
    border-bottom: none;
    padding: 0;
}

.accordion-item .btn-link {
    width: 100%;
    text-align: left;
    color: #e6e6e6;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
}

.accordion-item .btn-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-item .btn-link .fa-chevron-down {
    transition: transform 0.3s ease;
}

.accordion-item .btn-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-item .card-body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

/* User Grid */
.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.user-card-link {
    text-decoration: none;
}

.user-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.user-info .user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
}

.user-actions i {
    color: #e6e6e6;
    transition: transform 0.3s ease;
}

.user-card:hover .user-actions i {
    transform: translateX(4px);
}

body.login-page {
    background-image: url('../img/ems-logo-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}

.login-container {
    max-width: 400px;
    width: 100%;
}

.login-card {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-card .logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    margin-bottom: 20px;
}

.login-card h3 {
    color: #fff;
    font-weight: 600;
}

.input-group-text {
    background-color: #dc3545;
    border: 1px solid #dc3545;
    color: #fff;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
    color: #fff;
}

.form-control::placeholder {
    color: #ccc;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    padding: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.steam-login {
    margin-top: 1rem;
}

.steam-login .btn-secondary {
    background-color: #1b2838;
    border-color: #1b2838;
    color: #c7d5e0;
    font-weight: 600;
    padding: 10px;
}

.steam-login .btn-secondary:hover {
    background-color: #2a475e;
    border-color: #2a475e;
}

.steam-login .fa-steam {
    margin-right: 8px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.9);
    border-color: rgba(220, 53, 69, 1);
    color: #fff;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-50:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Employed Page Styles */
.main-content {
    padding: 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.page-header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
}

.accordion-item {
    background-color: #2c2f33;
    border: 1px solid #23272a;
    margin-bottom: 10px;
    border-radius: 5px;
}

.accordion-item .card-header .btn-link {
    width: 100%;
    text-align: left;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 15px;
}

.accordion-item .card-header .btn-link .fa-chevron-down {
    transition: transform 0.3s ease;
}

.accordion-item .card-header .btn-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.user-card-link {
    text-decoration: none;
    color: inherit;
}

.user-card {
    background-color: #36393f;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #40444b;
}

.user-card:hover {
    background-color: #40444b;
    transform: translateY(-3px);
    cursor: pointer;
}

.user-card .user-name {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.user-card .user-actions i {
    color: #dc3545;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.user-card:hover .user-actions i {
    transform: translateX(5px);
}

/* Journal Page Specific Styles */
.bg-dark-2 {
    background-color: #2c2f33 !important;
}

.border-dark-3 {
    border-color: #23272a !important;
}

#search_text {
    background-color: #36393f;
    color: #fff;
    border: 1px solid #40444b;
}

#search_text::placeholder {
    color: #a0a0a0;
}

#search_text:focus {
    background-color: #40444b;
    border-color: #dc3545;
    box-shadow: none;
    color: #fff;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.player-card-link {
    text-decoration: none;
    color: inherit;
}

.player-card {
    background-color: #36393f;
    border: 1px solid #40444b;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-card:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
    cursor: pointer;
}

.player-info .player-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.player-info .player-detail {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 5px;
}

.player-info .player-detail strong {
    color: #dc3545;
}

.player-action i {
    font-size: 1.5rem;
    color: #dc3545;
    transition: transform 0.3s ease;
}

.player-card:hover .player-action i {
    transform: scale(1.2);
}

/* Fleet Management Page Styles */
.fleet-container {
    display: flex;
    gap: 20px;
}

.fleet-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fleet-card {
    background-color: #2c2f33;
    border: 1px solid #23272a;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.fleet-card-header {
    background-color: #36393f;
    padding: 15px 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #23272a;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.fleet-card-header .badge {
    font-size: 0.9rem;
    vertical-align: middle;
}

.fleet-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.unit-card {
    background-color: #36393f;
    border: 1px solid #40444b;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #dcddde;
}

.unit-name, .unit-task, .unit-patrol {
    display: flex;
    align-items: center;
}

.unit-name {
    font-weight: 600;
    color: #fff;
}

.unit-task {
    font-style: italic;
    font-size: 0.9em;
}

.unit-actions .btn {
    background-color: #40444b;
    border: none;
}
.unit-actions .btn:hover {
    background-color: #52575e;
}
.dropdown-menu {
    background-color: #2c2f33;
    border: 1px solid #23272a;
}
.dropdown-item {
    color: #dcddde;
}
.dropdown-item:hover {
    background-color: #dc3545;
    color: #fff;
}
.dropdown-header {
    color: #fff;
}
.text-danger {
    color: #dc3545 !important;
}
.text-danger:hover {
    color: #fff !important;
}

/* Profile Page Styles */
.profile-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-column-left {
    flex: 1;
    max-width: 350px;
}

.profile-column-right {
    flex: 2;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #dc3545;
}

.card.bg-dark-2 .card-header {
    background-color: #36393f;
}

.card p {
    margin-bottom: 0.5rem;
}

.card p strong {
    color: #dc3545;
    margin-right: 8px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
}

.modal-content.bg-dark-2 {
    background-color: #2c2f33 !important;
    color: #fff;
}

.custom-file-label {
    background-color: #36393f;
    border: 1px solid #40444b;
    color: #fff;
}

.custom-file-label::after {
    background-color: #dc3545;
    color: #fff;
}
