@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

/* Global Styles */
html, body {
    height: 100%;
    max-width: 100%;
    font-family: 'Exo 2', sans-serif; /* Specify a valid font */
    font-weight: 600; /* Use numerical weight for clarity */
    letter-spacing: 0.4px;
    margin: 0; /* Ensure no unwanted margin */
    padding: 0; /* Remove default padding */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}



body {
    background-image: url("../images/bg.png") !important;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom center;
    color: #fff;
    font-size: 12px;
    line-height: 1.9;
}

a, 
a:focus,
a:active,
a:hover {
    color: inherit;
}

p {
    margin-top: 5px;
    margin-bottom: 0px;
}

pre {
    position: relative;
    z-index: 1000;
}

.background-image {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url(../images/login-bg.jpg);
    background-size: cover;
    z-index: -1;
    filter: blur(10px);
}

.row {
    margin-left: -5px;
    margin-right: -5px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 5px;
    padding-right: 5px;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap !important;
    overflow: hidden;
}

/* Headers */ 

.header {
    background-color: #131313;
    background: url("../images/feature-new.png");
    background-size: cover;
    background-position: top center;
    border-bottom: 1px solid #272727;
    line-height: 40px;
    height: 140px;
    border-bottom: 3px solid #444;
}

.header .user-info {
    background-color: rgba(22, 22, 22, 0.8);
    line-height: 25px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #222;
    height: 120px;
    margin: 10px;
    padding: 10px; 
}

.header .user-info .quick-links {
    padding-top: 7px;
    width: 50px;
    line-height: 20px;
    height: auto;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    position: absolute;
    right: 0px;
    top: 10px;
    bottom: 10px;
    color: #777;
}

.header .user-info .quick-links i {
    font-size: 20px;
    line-height: 30px;
    width: 36px;
}

.header .user-info .quick-links [data-timer-type] {
    margin: 0px;
}

.header .user-info .quick-links .game-icon:before {
    top: 1px;
}

.header .game-time span {
    font-weight: bold;
    font-family: monospace;
    position: absolute;
    top: 2px; /* Løftet litt høyere */
    left: 50%;
    transform: translateX(-50%);
    padding: 0px 4px;
    background: rgba(0, 0, 0, 0.5); /* Lett mørk bakgrunn */
    color: rgba(255, 255, 255, 0.7); /* Litt diskret tekstfarge */
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
    transition: all 0.25s ease-in-out; /* Smooth animasjon */
}

/* ⏳ Hover-effekt for spilltid - Bedre respons */
.header .game-time span:hover {
    background: rgba(31, 138, 112, 0.9); /* Turkisgrønn aksent ved hover */
    color: #ffffff; /* Gjør teksten skarpere */
    transform: translateX(-50%) scale(1.08); /* Liten, myk forstørrelse */
    box-shadow: 0px 0px 10px rgba(31, 138, 112, 0.5); /* Subtil glød-effekt */
    transition: all 0.2s ease-in-out;
}

/* 📌 Page Headers - Justert for et mer moderne utseende */
.page-header-image {
    background-position: center top; /* Mer balansert sentrering */
    background-size: cover;
    height: 130px; /* Gjør headeren litt mer kompakt */
    border-bottom: 2px solid rgba(255, 255, 255, 0.1); /* Subtil linje for skille */
    filter: brightness(0.9) contrast(1.1); /* Gjør bildet litt tydeligere */
}

/* 🖼️ Page Header Hover-effekt - Liten dynamisk effekt */
.page-header-image:hover {
    filter: brightness(1) contrast(1.2); /* Gir mer liv */
    transition: all 0.3s ease-in-out;
}


/* Main game layout */
.game {
    position: fixed;
    top: 140px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    color: #666;
    color: #eee;
}

.game-container {
    max-width: 950px;
    margin: auto;
    position: relative;
}

.game > div {
    overflow-y: auto;
}

.game .left-menu {
    height: 100%;
    background-color: #222;
    float: left;
    width: 190px;
    padding: 10px;
}

.game .menu ul, .game .menu li {
    padding: 0px;
    margin: 0px; 
}
    
.game .menu li {
    list-style: none;    
}
    
.game .menu li .progress {
    height: 11px;
    float: right;
    width: 75px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: #500;
    position: relative;
}

.game .menu li .progress span {
    position: absolute;
    font-size: 10px;
    left: 4px;
    top: -3px;
    color: rgba(255, 255, 255, 0.7);
}


.game .menu li a {
    display: block;
    text-align: center;
}

.game .menu li .user-name a {
    display: inline;
    text-align: left;
}
    
.game .menu li ul li {
    background-color: #2d2d2d;
    margin-bottom: 3px;
    border-radius: 4px;
    border: 1px solid #3a3a3a;
    border-left: 4px solid #244724;

}   

.game .menu li ul li a {
    text-align: left;
    padding-left: 3px;
}   

.game .menu li ul li:hover {
    background-color: #282828;
    border-left: 4px solid #3d783d;

}

.game .menu li ul li:hover a {
    text-decoration: none;
}

.game .title {
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    margin-top: 11px;
    color: #3c763d;
    font-size: 11px;
}
    
.game .menu li.title:nth-child(1) {
    margin-top: 0px;
}

.game .content {
    height: 100%;
    overflow-y: auto;
    float: left;
    width: calc(100% - 445px);
    padding: 20px; 
    color: #eee;
    padding-top: 0px;
    text-align: center;
    background-image: url("../images/bg-game.png") !important;
}

a.stock {
    display: block;
    margin-left: -20px;
    margin-right: -20px;
    background-color: #2d2d2d;
    margin-bottom: 20px;
    border: 3px solid #444;
    border-top: none;
    text-decoration: none !important;
} 

.game .users-online {
    height: 100%;
    background-color: #222;
    float: right;
    width: 190px;
    padding: 10px;
}
    
.game .users-online .user-name {
    display: block;
    padding: 2px;
}
    
.game .users-online .user-name .image-holder {
    line-height: 20px;
}
    
.game .users-online .user-name .image-holder img {
    width: 20px !important;
    height: 20px !important;
}

.quick-links {
    height: 100%;
    background-color: #333;
    float: left;
    text-align: center;
    width: 65px;
    font-size: 10px;
    overflow-x: hidden;
}

.quick-links .new {
    color: #0F0;
}

.quick-links a {
    text-decoration: none;
}

.quick-links i {
    display: inline-block;
    font-size: 32px;
    border-radius: 50%;
    background-color: #222;
    width: 50px;
    line-height: 46px;
}

.quick-links .game-icon:before {
    top: 0px;
    position: relative;
}

.quick-links [data-timer-type] {
    margin: 5px;
}

.quick-links [data-timer-type] span {
    display: block;
}



.quick-links [data-timer-type] i {
    position: relative;
}

.quick-links [data-timer-type] i .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    font-weight: normal;
    background-color: #555;
    font-style: normal;
    border: 1px solid #777;
}


/* 📌 Navigasjonsstiler */
.navbar.navbar-inverse {
    margin-bottom: 0;
    background-color: #1a1a1a; /* Sørger for et mørkere, mer moderne uttrykk */
    border-bottom: 2px solid rgba(255, 255, 255, 0.05); /* Subtil separasjon */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Lett skyggeeffekt */
}

/* 🔻 Dropdown-pil */
.navbar.navbar-inverse .caret {
    display: block;
    margin: auto;
}

/* 📌 Justering av navigasjonsknapper */
.navbar.navbar-inverse .nav.nav-pills.nav-justified a {
    margin: 8px;
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* 🎯 Hover-effekt på lenker */
.navbar.navbar-inverse .nav.nav-pills.nav-justified a:hover {
    background: rgba(31, 138, 112, 0.7);
    transform: scale(1.05);
    color: white;
}

/* 📌 Dropdown-meny */
.nav-justified > .dropdown .dropdown-menu {
    z-index: 1000000;
    background-color: #1d1d1d;
    border: 1px solid #424242;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 🔹 Tittel-lenker */
.nav .title a {
    background-color: #1d1d1d !important;
    border: 1px solid #424242 !important;
    padding: 6px 12px;
    border-radius: 4px;
}

/* 📌 Navigasjon med avrundede hjørner */
.nav-upside-down {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: none !important;
}

/* 📱 Responsiv tilpasning */
@media (max-width: 768px) {
    .navbar.navbar-inverse .nav.nav-pills.nav-justified a {
        margin: 6px;
        padding: 6px 10px;
        font-size: 12px;
    }
}



/* 🌑 Panel - Gjør alt mørkt */
.panel {
    background-color: #1a1a1a !important; /* Fullstendig mørkt */
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #262626;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* 📌 Panel Heading - Fjerner hvit bakgrunn */
.panel-heading {
    background-color: #181818 !important; /* Mørk, ikke hvit */
    color: #8fbfa8 !important; /* Subtil turkisgrønn tekst */
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid #1f8a70; /* Hint av turkis */
}

/* 📦 Panel Body - Ingen hvite bakgrunner */
.panel-body {
    padding: 12px;
    background-color: #1a1a1a !important; /* Må være mørk for å unngå hvitt */
    border-radius: 0 0 8px 8px;
    color: #b0b0b0; /* Mykere gråtone */
}

/* 📊 Dropdowns - Fjern hvite elementer */
select {
    background-color: #222 !important;
    color: #b0b0b0 !important;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #2d2d2d !important;
    font-size: 14px;
    width: 100%;
    transition: background 0.2s ease-in-out;
}

select:hover {
    background-color: #2a2a2a !important;
}

/* 🏴 Knapper - Gjør dem mørkere */
button {
    background-color: #282828 !important;
    color: #c0c0c0 !important;
    padding: 8px 12px;
    border: 1px solid #3a3a3a !important;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

button:hover {
    background-color: #1f8a70 !important;
    color: #ffffff !important;
}

/* 📱 Mobiljusteringer */
@media (max-width: 768px) {
    .panel {
        margin-bottom: 15px;
    }

    .panel-heading {
        font-size: 14px;
        padding: 10px;
    }

    .panel-body {
        padding: 10px;
    }
}


/* Forms */
.form-control {
    background-color: #444;
    border-radius: 5px;
    border: none;
    color: #888; 
}

.form-control-inline {
    display: inline-block;
    width: 200px;
}

input[type=radio], input[type=checkbox] {
    margin: 0px;
    vertical-align: middle;
}

.input-sm,
select.input-sm {
    height: 26px;
    line-height: 26px;
    margin-top: 4px;
}


/* Usernames */

[class*="online-status-"] .image-holder {
    position: relative;
    display: inline-block;
}

[class*="online-status-"] .image-holder::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 30%;
    width: 30%;
    border-radius: 50%;
    border: 1px solid #555;
}

.online-status-0 .image-holder::after { 
    background-color: #900; 
}

.online-status-1 .image-holder::after { 
    background-color: #970; 
}

.online-status-2 .image-holder::after { 
    background-color: #090; 
}

.status-0 .image-holder::after {
    background-color: rgba(222, 0, 0, 0.25);
    top: 0px;
    left: 0px;
    border: none;
    height: 100%;
    width: 100%;

}
.status-0 .image-holder img {
    filter: grayscale(100%);
}


/* bootstrap overrides*/
.well {
    background-color: #222222;
    border: 1px solid #474747;
    text-align: left;
}

.well h3 {
    margin-top: 0px;
}

/* 🌑 Kompakt Crime Holder */
/* Futuristic Panel Style */


        .futuristic-panel {
            background: #1a1a1a;
            border: 1px solid #444;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
            color: #ddd;
            overflow: hidden;
        }
        .futuristic-panel .panel-heading {
          	background-color: #181818 !important; /* Mørk, ikke hvit */
   		 	color: #8fbfa8 !important; /* Subtil turkisgrønn tekst */
    		font-size: 15px;
    		font-weight: bold;
    		text-align: center;
    		padding: 10px;
    		border-radius: 6px 6px 0 0;
    		border-bottom: 2px solid #1f8a70; /* Hint av turkis */
        }
        
        /* Futuristic List Item (Clickable Box) */
        .futuristic-list-item {
            background: #2a2a2a;
            border: 1px solid #444;
            margin-bottom: 5px;
            border-radius: 4px;
            padding: 10px 15px;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
            cursor: pointer;
        }
        .futuristic-list-item:hover {
            background: #3a3a3a;
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
        }
        .futuristic-list-item a {
            color: inherit;
            text-decoration: none;
            display: block;
        }
.crime-holder {
    position: relative;
    border-radius: 6px;
    margin: 4px;
    border: 1px solid rgba(47, 79, 79, 0.4); /* Dempet turkisgrønn aksent */
    background: linear-gradient(135deg, #1a1a1a, #222); /* Moderne mørk gradient */
    padding: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Mindre skygge */
    transition: all 0.2s ease-in-out;
    font-size: 12px;
}

/* 🎯 Hover-effekt */
.crime-holder:hover {
    border-color: #1f8a70;
    box-shadow: 0 3px 7px rgba(0, 209, 178, 0.3);
    transform: scale(1.01); /* Minimal zoom for responsiv effekt */
}

/* 🔖 Level Tag - Kompakt plassering */
.crime-holder .level-tag {
    position: absolute;
    right: 60px;
    font-size: 9px;
    color: #8fbfa8;
}

/* 📝 Tekststil - Mindre spacing */
.crime-holder p {
    line-height: 28px;
    margin: 0px;
    text-align: right;
    z-index: 10;
    position: relative;
    font-size: 12px;
    color: #b0b0b0;
}

/* ⏳ Cooldown Timer - Kompakt */
.crime-holder .cooldown {
    color: #8fbfa8;
    padding-right: 15px;
    font-size: 11px;
}

/* 🚀 Action Placement */
.crime-holder .action {
    float: left;
    padding-left: 6px;
}

/* 📊 Progress Bar - Mindre & slankere */
.crime-holder .crime-perc {
    position: absolute;
    left: 4px;
    right: 55px;
    top: 4px;
    bottom: 4px;
    z-index: 1;
    border-right: 1px solid #1f8a70;
    border-bottom: 1px solid #1f8a70;
    border-radius: 6px;
    background: linear-gradient(135deg, #101010, #161616);
}

/* 🔋 Progress Bar Fill */
.crime-holder .crime-perc .perc {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 255, 128, 0.3), rgba(0, 255, 128, 0.5));
    width: 0px;
    transition: width 0.2s ease-in-out;
}

/* 🔘 Commit Button - Kompakt */
.crime-holder .commit {
    background: linear-gradient(135deg, #222, #2e2e2e);
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    line-height: 24px;
    margin-right: 4px;
    width: 65px;
    border: 1px solid #1f8a70;
    color: #c0f2d1;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* 🔘 Commit Hover-effekt */
.crime-holder .commit:hover {
    background: linear-gradient(135deg, #1f8a70, #26a185);
    color: #ffffff;
    transform: scale(1.04);
    box-shadow: 0 2px 5px rgba(0, 209, 178, 0.4);
}

/* 🏷️ Header - Mindre padding */
.crime-holder .crime-header {
    background: linear-gradient(135deg, #191919, #222);
    border-bottom: 1px solid #1f8a70;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #8fbfa8;
}


/* 🌑 Overstyrer Bootstrap sin btn-danger */
.btn-danger.btn-reset-wait {
    background: linear-gradient(135deg, #1c1c1c, #242424) !important; /* Mørk gradient */
    color: #b0f2c2 !important; /* Subtil turkisgrønn tekst */
    border: 1px solid #1f8a70 !important; /* Hint av turkisgrønn */
    padding: 6px 14px !important; /* Redusert padding for mindre knapp */
    border-radius: 6px !important;
    font-size: 12px !important; /* Mindre font */
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    display: block !important;
    width: auto !important;
    margin: auto !important;
    text-align: center !important;
}

/* 🎯 Hover-effekt - Mer attraktiv */
.btn-danger.btn-reset-wait:hover {
    background: linear-gradient(135deg, #1f8a70, #26a185) !important; /* Turkisgrønn hover */
    color: #ffffff !important;
    transform: scale(1.03) !important;
    box-shadow: 0 3px 8px rgba(0, 209, 178, 0.4) !important; /* Glød-effekt */
}

/* 👆 Klikkeffekt */
.btn-danger.btn-reset-wait:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 5px rgba(0, 209, 178, 0.3) !important;
}

/* 🚫 Sikrer at ingen andre Bootstrap-stiler påvirker den */
.btn-danger {
    background: linear-gradient(135deg, #e53935, #ef5350) !important;
    border: 1px solid #1f8a70 !important;
    color: #fff !important;
}


/* 📱 Mobiltilpasning */
@media (max-width: 768px) {
    .btn-danger.btn-reset-wait {
        font-size: 11px !important;
        padding: 5px 12px !important;
        width: auto !important;
    }
}



/* Progress Styles*/
.progress {
    background-color: #111;
    border-right: 0px solid #444;
    border-bottom: 0px solid #444;
    margin-bottom: 0px;
}
    
.progress-bar-success {
    background-color: #0d4d0d;
    border: 1px;
    box-shadow: none;
}

/* 🔘 Standardknapp - Moderne og mørk */
.btn.btn-default {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a); /* Myk mørk gradient */
    color: #c0f2d1; /* Subtil turkisgrønn tekst */
    border: 2px solid #1f8a70; /* Hint av turkisgrønn */
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* 🎯 Hover-effekt - Mer klikkbar */
.btn.btn-default:hover,
.btn.btn-default:focus,
.btn.btn-default:active {
    background: linear-gradient(135deg, #1f8a70, #26a185); /* Glød-effekt */
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 209, 178, 0.4);
}

/* 👆 Klikkeffekt */
.btn.btn-default:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 209, 178, 0.3);
}

/* 🚫 Deaktivert stil */
.btn.btn-default.disabled,
.btn.btn-default[disabled] {
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}



/* ================================ */
/* ========== ALERT BOX ========== */
/* ================================ */

.alert {
    display: flex;
    align-items: center; /* Midtstiller vertikalt */
    justify-content: flex-start; /* Starter innholdet fra venstre */
    gap: 12px; /* Mellomrom mellom ikon og tekst */
    padding: 8px 12px; /* Justert padding for bedre balanse */
    border-left: 4px solid;
    border-radius: 6px;
    font-size: 13px; /* Justert for bedre lesbarhet */
    font-weight: 600;
    text-align: left; /* Holder teksten venstrestilt */
    min-height: 36px; /* Gjør boksen mer balansert */
    max-width: 350px; /* Gir varselboksen en mer naturlig bredde */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

/* ================================ */
/* ========== ICON STYLE ========== */
/* ================================ */

.alert::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px; /* Justert ikonstørrelse */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
}

/* ================================ */
/* ======= DIFFERENT ALERTS ======= */
/* ================================ */

/* Generell stil for alle varsler */
.alert {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 24px 16px 72px; /* Plass for ikonet */
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    color: #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
}

/* Ikone-styling (generell) */
.alert::before {
    content: "";
    position: absolute;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Hover-effekt for varsler */
.alert:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}
.alert:hover::before {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

/* ✅ SUKSESSVARSEL (Mafia-succes) */
.alert.alert-success {
    background: linear-gradient(135deg, #3c4b17, #283618); /* Mørke grønne farger for penger/gjengster */
    color: #d1ffbd;
    border: none;
}
.alert.alert-success::before {
    content: "\f00c"; /* Checkmark */
    color: #d1ffbd;
}

/* ⚠️ ADVARSELSVARSEL (Mafiadvarelse) */
.alert.alert-warning {
    background: linear-gradient(135deg, #785127, #4c3318); /* Brunt/mørkebrunt for fare/risiko */
    color: #ffeb99;
    border: none;
}
.alert.alert-warning::before {
    content: "\f06a"; /* Exclamation-circle */
    color: #ffeb99;
}

/* ❌ FEILVARSEL (Mafiafeil) */
.alert.alert-danger {
    background: linear-gradient(135deg, #6c0b0b, #3b0505); /* Rødt/blood-red for død/fare */
    color: #ffcccc;
    border: none;
}
.alert.alert-danger::before {
    content: "\f06a"; /* Exclamation-circle */
    color: #ffcccc;
}

/* ℹ️ INFORMASJONSVARSEL (Mafiainfo) */
.alert.alert-info {
    background: linear-gradient(135deg, #2c3e50, #212f3c); /* Mørkt blått/grått for mysterium */
    color: #a3d2ff;
    border: none;
}
.alert.alert-info::before {
    content: "\f05a"; /* Info-circle */
    color: #a3d2ff;
}

/* Tekstfokus ved hover */
.alert:hover span {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animasjon for inngang */
.alert {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.2s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Valgfri: Legg til en "betong"-effekt */
.alert {
    background-image: url('concrete-texture.png');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
}

/* Alternativ ikonstil (mer skumle) */
.alert::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}

/* ================================ */
/* ======= TIMER & ANIMATION ====== */
/* ================================ */

.alert .timer-active {
    font-size: 14px; /* Beholdes for klart lesbarhet */
    font-weight: 600; /* Anvender et litt mer subtilt bold for bedre estetikk */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4)); /* Dynamisk gradientbakgrunn */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtil ramme */
    border-radius: 12px; /* Avrundet kant */
    padding: 6px 10px; /* Justert paddning */
    margin-left: auto; /* Skyver elementet til høyre */
    text-align: center;
    min-width: 72px; /* Minimumsbredde for større timer-verdier */
    display: inline-flex; /* Flexbox for kontroll */
    align-items: center; /* Sentrering vertikalt */
    justify-content: center; /* Sentrering horisontalt */
    color: #ffffff; /* Klar kontrast mot bakgrunnen */
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.2), /* Innboret skygge */
        0 2px 4px rgba(0, 0, 0, 0.1); /* Ekstern skygge */
    transition: all 0.3s ease; /* Smooth transisjoner */

    /* Legger til en lysrefleks for eleganse */
    background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3) 20%, transparent 70%);
    background-blend-mode: overlay; /* Blending for å få reflekseffekten */
}

/* Hover-effekt */
.alert .timer-active:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5)); /* Lysere gradient ved hover */
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.3), /* Styrkere innboret skygge */
        0 4px 8px rgba(0, 0, 0, 0.2); /* Styrkere ekstern skygge */
    transform: scale(1.02); /* Subtil forstorring */
}

/* Aktiv-tillstand (når tiden løper) */
.alert .timer-active.timer-running {
    animation: pulse 2s infinite; /* Puls-animasjon for å indikere aktivitet */
}

/* Puls-animasjon */
@keyframes pulse {
    0% {
        box-shadow: 
            inset 0 1px 3px rgba(0, 0, 0, 0.2), 
            0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            inset 0 2px 6px rgba(0, 0, 0, 0.3), 
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 
            inset 0 1px 3px rgba(0, 0, 0, 0.2), 
            0 2px 4px rgba(0, 0, 0, 0.1);
    }
}



/* Modal Styles*/

.modal {
     background: rgba(0, 0, 0, 0.9);
}

.modal-backdrop {
    display: none !important;
}

.modal-header {
    border-bottom: 1px solid #444444;
    background-color: #404040;
    padding: 5px;
}

.modal-body {
    position: relative;
    padding: 5px;
    background-color: #1d1d1d;
}

.modal-footer {
    margin-top: 0px;
    padding: 5px;
    text-align: right;
    border-top: 1px solid #444444;
    background-color: #2b2b2b;
}


/* ================================ */
/* ======= GENERELLE STILER ======= */
/* ================================ */

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #0f0f0f;
    color: #ddd;
}

/* ================================ */
/* ======== HEADER KNAPPER ======== */
/* ================================ */

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 4px; /* Mindre mellomrom */
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.profile-actions button {
    background: #1c1c1c;
    color: #8dc63f;
    border: 1px solid #2a2a2a;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.profile-actions button:hover {
    background: #2a2a2a;
    color: #fff;
}

/* ================================ */
/* ========= PROFIL HEADER ======== */
/* ================================ */

.profile-header {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #ff4444;
    text-transform: uppercase;
    padding: 6px;
    background: #1a1a1a;
    border-radius: 5px;
    margin-bottom: 6px;
}

/* ================================ */
/* ======== PROFIL STATISTIKK ===== */
/* ================================ */

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px; /* Strammere mellomrom */
    padding: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    text-align: center;
}

.profile-stats .stat-box {
    background: #222;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #333;
    transition: transform 0.15s ease-in-out;
}

.profile-stats .stat-box:hover {
    background: #2a2a2a;
    transform: scale(1.03);
}

.profile-stats .stat-box strong {
    display: block;
    color: #bbb;
    font-size: 11px;
    font-weight: normal;
}

.profile-stats .stat-box span {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #8dc63f;
}

/* ================================ */
/* ======== PROFILBILDE ======= */
/* ================================ */

.profile-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.profile-pic img {
    max-height: 160px;
    border-radius: 5px;
    border: 2px solid #444;
    transition: transform 0.2s ease-in-out;
}

.profile-pic img:hover {
    transform: scale(1.05);
}

/* ================================ */
/* ======== BIO/INFO SEKSJON ====== */
/* ================================ */

.bio {
    background: #222;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #bbb;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

/* ================================ */
/* ======= GENERELLE STILER ======= */
/* ================================ */

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #0f0f0f;
    color: #ddd;
}

/* ================================ */
/* ======== HEADER KNAPPER ======== */
/* ================================ */

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 4px; /* Mindre mellomrom */
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.profile-actions button {
    background: #1c1c1c;
    color: #8dc63f;
    border: 1px solid #2a2a2a;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.profile-actions button:hover {
    background: #2a2a2a;
    color: #fff;
}

/* ================================ */
/* ========= PROFIL HEADER ======== */
/* ================================ */

.profile-header {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #ff4444;
    text-transform: uppercase;
    padding: 6px;
    background: #1a1a1a;
    border-radius: 5px;
    margin-bottom: 6px;
}

/* ================================ */
/* ======== PROFIL STATISTIKK ===== */
/* ================================ */

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px; /* Strammere mellomrom */
    padding: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    text-align: center;
}

.profile-stats .stat-box {
    background: #222;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #333;
    transition: transform 0.15s ease-in-out;
}

.profile-stats .stat-box:hover {
    background: #2a2a2a;
    transform: scale(1.03);
}

.profile-stats .stat-box strong {
    display: block;
    color: #bbb;
    font-size: 11px;
    font-weight: normal;
}

.profile-stats .stat-box span {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #8dc63f;
}

/* ================================ */
/* ======== PROFILBILDE ======= */
/* ================================ */

.profile-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.profile-pic img {
    max-height: 160px;
    border-radius: 5px;
    border: 2px solid #444;
    transition: transform 0.2s ease-in-out;
}

.profile-pic img:hover {
    transform: scale(1.05);
}

/* ================================ */
/* ======== BIO/INFO SEKSJON ====== */
/* ================================ */

.bio {
    background: #222;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #bbb;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}


/* Mobile Styles*/

@media (max-width: 767px) {

.profile-user-stats li {
    width: 100%;
}

body[class*="user-status"] {
    background-image: none !important;
    background-color: #333;
}

/* Main game layout */
    
    .game {
        top: 124px;
        position: relative;
        height: calc(100% - 124px);
    }

    .game .menu {
        display: none;
        width: 50%;
        float: left;
        padding-bottom: 75px;
    }

    .game .content {
        width: 100%;
        padding: 10px;
        padding-bottom: 75px;
    }

    .game .quick-links {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        height: 75px;
        z-index: 5;
        width: auto;
        overflow: hidden;
    }

    a.stock {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: -10px;
    }

    .quick-links [data-timer-type] {
        display: inline-block;
    }

    .header {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        height: 124px;
        background-size: 100% 45px;
        background-repeat: no-repeat;
    }

    .header .navbar-toggle {
        margin-left: -10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .header .user-info {
        position: absolute;
        top: 46px;
        left: -10px;
        right: -10px;
        border-radius: 0px;
        height: 75px;
        line-height: 22px;
        margin: 0px;
        text-align: center;
        padding: 0px;
    }

    .crime-holder {
        width: 100% !important;
        margin-left: 0px;
        margin-right: 0px;
    }
    .crime-holder p {
        line-height: 32px;
    }

    .crime-holder .level-tag {
        position: absolute;
        right: 13px;
        left: 13px;
        text-align: center;
        top: 15px;

    }
    .crime-holder .crime-perc {
        right: 5px;
        bottom: auto;
        height: 38px;
    }

    .timer-reset-container .btn {
        margin-top: -16px;
    }

    .page-header-image {
        height: 80px;
    }

    .header .game-time span {
        position: absolute;
        bottom: 51px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
        border: none;
        background-color: rgba(22, 22, 22, 0.8);
        right: 10px;
        left: auto;
        margin-left: 0px;
        width: 200px;
    }

}
































/* OLD STYLES */

.user-status-0 .navigation {
    display: none;
}

.user-status-0 .game-container {
    max-width: 800px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.game-container {

}

.user-status-0 .logo-container {
    text-align: center !important;
    width: 100%;
}

.user-status-0 .sub-header,
.user-status-0 .header .col-md-2,
.user-status-0 .header .col-md-3 {
    display: none;
}

.no-scroll {
    overflow: hidden;    
}

.alert {
    border: 1px solid;
    max-width: 600px;
    margin: 10px auto;
}

.padding {
    padding: 0 10%;
}

.header .logo-container {
    line-height: 80px;
}

.timers {
    background-color: transparent;
}


.tiny {
    font-size: 12px;
    line-height: 20px;
}

hr {
    border-top: 1px solid #474747 !important;
}

.dropdown-menu {
    background-color: #0e0e0e;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    background-color: #474747;
    color: #b7b7b7;
}

.dropdown-menu>li>a {
    color: #979797;
}
.dropdown-menu .divider {
    background-color: #979797;
}



.navigation .label {
    float: right;
}

table tr td, table tr th {
    text-align: left;
}

.login-logo {
    border-radius: 50%;
    width: 140px;
    margin-top: 100px;
}

.login-logo-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-container input {
    border: none;
    background-color: rgba(255, 255, 255, 0.19);
    border-radius: 3px;
    padding: 20px 10px;
    margin-bottom: 6px;
    color: #fff;
}
.login-container .btn {
    background-color: transparent !important;
    border: 1px solid #888; 
}

.timer-active {
    color: #a94442 !important;
}

.timer-done {
    color: #3c763d !important;
}

.img-thumbnail {
    background-color: transparent;
    border-color: #555;
}

.table-borderless tr, .table-borderless tr td, .table-borderless tr th {
    border: none !important;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border-color: #272727 !important;
}

.table-striped>thead>tr:nth-child(odd)>td, .table-striped>thead>tr:nth-child(odd)>th {
    background-color: #171717;
}
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #272727;
}

.table-striped>tbody>tr:nth-child(even)>td, .table-striped>tbody>tr:nth-child(even)>th {
    background-color: #373737;
}

.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding: 2px 5px;
}
.mobile-menu {
        display: none;
}

.user-level-0:before {
    content: "[BANNED]";
}
.user-level-0,
.user-level-0:hover {
    color: #777;
}

.user-level-2,
.user-level-2:hover {
    color: #ff0;
    font-weight: bold;
}

.new {
    color: #3c763d ;
    font-weight: bold;
}

.login-form {
    width: calc(100% - 10px);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.login-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    text-align: center;
    vertical-align: middle;
}

.login-form.login-form-inline  {
    vertical-align: top;
    display: inline-block;
    min-height: 325px;
    text-align: left;
    margin: 5px;
    margin-bottom: 15px;
}

.login-form.nav-justified>li {
    display: table-cell !important;
    width: 1% !important;
}

.nav-pills>li>a {
    padding: 5px;
    margin-bottom: 10px;
}

.nav-pills>li>a:hover {
    background-color: #474747;
}

.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-tabs {
    border-bottom: 1px solid #474747 !important;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.nav-tabs li a {
    border-bottom-color: transparent !important;
}

.nav-tabs li a:hover {
    background-color: #474747;
    border-radius: 5px;
    border-color: transparent;
}

.list-group, .list-group .list-group-item {
    border-color: #474747;
    color: #fff;
    margin-bottom: 0px;
}

.list-group .list-group-item {
    padding: 5px;
}

.list-group .list-group-item:nth-child(odd) {
    background-color: #171717;
}    

.list-group .list-group-item:nth-child(even) {
    background-color: #252525;
}

.list-group .list-group-item .badge {
    background-color: transparent;
}

.user-name.status-0 .image-holder {
    position: relative;
}

.user-name .image-holder {
    line-height: 24px;
}

.image-holder .img-thumbnail {
    padding: 1px;
    background-color: transparent;
    border-color: #555;
    border-radius: 50%;
}

.user-name.status-0 .image-holder:before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -3px;
    left: 2px;
    right: 6px;
    background: url(../images/bullet-holes.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.bbcode_img {
    max-width: 100%;
}

@media (max-width: 767px) {
    html, body {
        height: 100%;
        font-size: 12px;
    }

    .login-logo {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }

    .mobile-menu {
        background-color: #272727;
        height: 100%;
        overflow: auto;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        display: none;
        z-index: 1000;
    }

    .mobile-menu ul.nav {
        position: absolute;
        top: 0px;
        bottom: 30px;
        left: 0px;
        right: 0px;
        overflow: auto;
    }

    .mobile-menu .close-mobile-menu {
        position: absolute;
        text-align: center;
        bottom: 0px;
        left: 0px;
        right: 0px;
        line-height: 30px;
        color: #fff;
        z-index: 1100;
        background-color: #474747;
    }
    
    .mobile-menu li {
        float: left;
        text-align: center;
    }

    .mobile-menu li a {
        padding: 7px 15px;
        margin-bottom: 0px;
    }

    .mobile-menu .title {
        display: block;
        clear: both;
        font-weight: bold;
    }

    .padding {
        padding: 0 2%;
    }

    .game-container {
        padding: 0px;
    }

    .navbar-toggle {
        background-color: #272727;
        border: 1px solid #474747;
        margin-left: -5px;
        margin-right: 0px;
        float: left;
    }
    .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .header {
        line-height: 25px;
    }

    .header .logo-container {
        text-align: center !important;
    }
    .header .col-xs-6 {
        padding: 0px; 
    }
    .header .logo-container {
        line-height: 60px;
    }
    .logo-container img {
        height: 40px;
    }

    .crime-holder p {
        text-align: center;
    }
    .crime-holder .action {
        display: block;
        float: none;
    }
    .crime-holder .cooldown,
    .crime-holder .commit {
        width: 49%;
        float: none;
        display: inline-block !important;
        text-align: center;
        font-size: 12px;
        margin-top: 14px;
        margin-bottom: 4px;
    }
    .crime-holder .commit:after {
        content: "";
        clear: both;
        display: block;
    }

}
