@font-face {
    font-family: crock;
    src: url(../font/crock.ttf);
}

@font-face {
    font-family: gfs;
    src: url(../font/gfs.ttf);
}
@font-face {
    font-family: hg;
    src: url(../font/hg.ttf);
}

@font-face {
    font-family: courier-prime;
    src: url(../font/courier-prime.ttf);
}


* {
     box-sizing: border-box;
     /*font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif; */
     font-size: 18px;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
}
html {
    scroll-behavior: smooth;
}
 a {
     #padding: 0 20px;
     text-decoration: none;
     color: #af9090;
     font-weight: bold;
}
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}
#backgroundColor {
    position: fixed;
    z-index: 0;
    background-color: #4100005e;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

 td, th {
    padding: 8px;
    text-align: center;
    /*height: 40px;*/
    /*max-height: 40px;*/
}

tr:nth-child(even) {
    background-color: #1a1a1a;
    transition-duration: 0.2s;
}

tr:nth-child(odd) {
    background-color: #1a0000;
    transition-duration: 0.2s;
}

tr:hover {
    background-color: #333333;
    transition-duration: 0.2s;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #aa0404;
    color: white;
}

/* Zvýraznění pro nové odpovědi */
tr.highlight {
    background-color: rgb(109, 0, 0) !important; /* Světle žlutá */
    font-weight: bold;
}

 body {
     background: linear-gradient(135deg, #D70000 0%, #111111 74%);
     background-attachment: fixed;
     background-image: linear-gradient(rgba(206, 27, 40, 0.35), rgba(206, 27, 40, 0.55)), url(../assets/background.jpg);
     background-repeat: no-repeat;
     background-size: cover;
}
.login-container {
    width: 90%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
	justify-content: center;
}

.login-box h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
	justify-content: center;
}

.login-divider {
    border: none;
    border-top: 1px solid #ddd;
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.login-divider::after {
    content: attr(data-content);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    padding: 0 10px;
    font-size: 14px;
    color: #888888;
}

.login-button {
    background-color: #9f3131;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.login-button:hover {
    background-color: #8a2828;
}

.login-button:active {
    transform: scale(0.98);
}

 .login {
     width: 90%;
     max-width: 400px;
     background-color: #000000;
     box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
     margin: 100px auto;
     font-family: crock;
	 letter-spacing: 0.25vw;
}
 .message {
	 color: #ffffff;
	 font-family: courier-prime;
	 letter-spacing: 0;
}
 .login h1 {
     text-align: center;
     color: #5b6574;
     font-size: 24px;
     padding: 20px 0 20px 0;
     border-bottom: 1px solid #dee0e4;
}
 .login form {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     padding-top: 20px;
}
 .login form label {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 50px;
     height: 50px;
     background-color: #aa0000;
     color: #ffffff;
}
 .login form input[type="password"], .login form input[type="text"] {
     width: 90%;
     max-width: 310px;
     height: 50px;
     border: 1px solid #3b3b3b;
     margin-bottom: 20px;
     padding: 0 15px;
}
 .login form input[type="submit"] {
     width: 90%;
     max-width: 310px;
     padding: 15px;
     margin-top: 20px;
     background-color: #aa0000;
     border: 0;
     cursor: pointer;
     font-weight: bold;
     color: #ffffff;
     transition: background-color 0.2s;
}
 .login form input[type="submit"]:hover {
     background-color: #ea0000;
     transition: background-color 0.2s;
}
 .navtop {
     /* background-color: #2f3947; */
     position:absolute;
     font-family: crock;
	 letter-spacing: 0.25vw;
     top: 0;
     height: 60px;
     width: 100%;
     max-width: 100%;
     margin: 0 auto;
     padding: 7px;
     border: 0;
     background-image: url('../img/header.png');
     background-size: 100% 100%;
}
 .navtop div {
     display: flex;
     margin: 0 auto;
    /*width: 95%;
    */
     max-width: 100%;
     height: 100%;
}
 .navtop div h1, .navtop div a {
     display: inline-flex;
     align-items: center;
}
 .navtop div h1 {
     flex: 1;
     font-size: 24px;
     padding: 0;
     margin: 0;
     color: #eaebed;
     font-weight: normal;
}
 .navtop div a {
     padding: 0 20px;
     text-decoration: none;
     color: #c1c4c8;
     font-weight: bold;
}
 .navtop div a i {
     padding: 2px 8px 0 0;
}
 .navtop div a:hover {
     color: #eaebed;
}
 .navtop div #menu-toggle {
     display: none;
}
 .navtop div .menu {
     display: flex;
     flex-direction: row;
}
 #menu-toggle {
     display: none;
     background: none;
     border: none;
     color: #fff;
     font-size: 24px;
     cursor: pointer;
}
 .navtop div #menu-toggle i {
     font-size: 24px;
     cursor: pointer;
}
 .navtop div .menu.active {
     display: flex;
     flex-direction: column;
     position: absolute;
     top: 60px;
     left: 0;
     width: 100%;
     background-color: #2f3947;
}
 .navtop div .menu.active a {
     padding: 10px 0;
     text-align: center;
     width: 100%;
     color: #c1c4c8;
     font-weight: bold;
}
 .content {
    position:absolute;
    left: 5%;
    top: 5%;
     width: 85%;
     /* max-width: 1000px; */
     margin: 0 auto;
}
 .content h2 {
     margin: 0;
     padding: 25px 0;
     font-size: 22px;
     border-bottom: 1px solid #e0e0e3;
     color: #ffffff;
     font-family: crock;
	 letter-spacing: 0.25vw;
}
 .content > p, .content > div {
	 font-family: courier-prime;
     box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
     margin: 25px 0;
     padding: 40px;
     background-image: url("../img/mainRules.png");
     color:rgb(209, 209, 209);
     background-size: 100% 100%;
}
 .content > p table td, .content > div table td {
     padding: 5px;
}
 .content > p table td:first-child, .content > div table td:first-child {
     font-weight: bold;
     color: #d8d8d8;
     padding-right: 15px;
}
 .content > div p {
     padding: 5px;
     margin: 0 0 10px 0;
}
 .profile-img {
     max-width: 100%;
     height: auto;
     display: block;
     margin: 0 auto;
     border-radius: 50%;
}
 .welcome-text {
     text-align: center;
     margin-top: 20px;
     font-size: 24px;
}
 .number-list {
     text-align: center;
     list-style-type: none;
}
 .number-list li {
     display: inline;
     margin-right: 10px;
}

 .steambutton {
     display: block;
     background-color:rgb(73, 0, 0);
     width: 90%;
     max-width: 320px;
     height: 50px;
     line-height: 50px;
     margin: auto;
     color: #bebebe;
     position: relative;
     cursor: pointer;
     overflow: hidden;
     border-radius: 5px;
     text-align: center;
     transition-duration: 0.2s;
}
.steambutton:hover {
    background-color:rgb(109, 0, 0);
}
 .steambutton span {
     font-family: 'Exo 2', sans-serif;
     font-weight: bold;
     letter-spacing: 0.1em;
     width: 75%;
     font-size: 14px;
     text-transform: uppercase;
     left: 0;
     -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
     transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}
 .steambutton span, .steambutton .icon {
     display: block;
     height: 100%;
     text-align: center;
     position: absolute;
     top: 0;
}
 .steambutton .icon .fa {
     font-size: 30px;
     line-height: 50px;
     -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4), height 0.25s ease;
     transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4), height 0.25s ease;
}
 .steambutton .icon {
     width: 25%;
     right: 0;
     -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
     transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}
 .steambutton span, .steambutton .icon {
     display: block;
     height: 100%;
     text-align: center;
     position: absolute;
     top: 0;
}
 .fa {
     display: inline-block;
     font: normal normal normal 14px/1 FontAwesome;
     font-size: inherit;
     text-rendering: auto;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     transform: translate(0, 0);
}
 .steambutton span:after {
     content: '';
     background-color: #862828;
     width: 2px;
     height: 70%;
     position: absolute;
     top: 15%;
     right: -1px;
}
 .steambutton.success span, .steambutton:hover span {
     left: -72%;
     opacity: 0;
}
 .steambutton.success .icon, .steambutton:hover .icon {
     width: 100%;
}
 .steambutton.success .icon .fa, .steambutton:hover .icon .fa {
     font-size: 45px;
}
/* Font Awesome styles */
 .fa-upload {
     margin-right: 5px;
}
/* Media Queries for responsiveness */
 @media screen and (max-width: 920px) {
     .navtop, .content {
		 width: 100%;
		 left: 0%;
         max-width: none;
    }
	
	.content h2 {
		margin: 0;
		padding: 25px 0 0 10px;
		font-size: 22px;
		border-bottom: 1px solid #e0e0e3;
		color: #ffffff;
		font-family: crock;
		letter-spacing: 0.25vw;
	}
     .login, .steambutton {
         width: 85%;
         max-width: none;
    }
     .navtop div #menu-toggle {
         display: block;
    }
     .navtop div .menu {
         display: none;
    }
     .navtop div .menu.active {
         display: flex;
         flex-direction: column;
         position: absolute;
         top: 60px;
         left: 50%;
        /* Zarovnat na střed */
         transform: translateX(-50%);
        /* Posunout zpět o polovinu šířky */
         width: 98%;
        /* Stejná šířka jako ostatní obsah */
         height: auto;
         max-width: 1000px;
        /* Stejný limit šířky jako hlavní panel */
         background-color: #2f3947;
         z-index: 100;
         box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        /* Přidání stínu pro lepší vzhled */
    }
     .navtop div .menu.active a {
         padding: 10px 10px;
         text-align: center;
         width: 100%;
         color: #c1c4c8;
         font-weight: bold;
    }
}
/* Základní styl tabulky */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #b4b4b4;
    color: #000000;
	border-radius: 5px;
}

/* Stylování pro mobilní zařízení */
@media (max-width: 768px) {
    table {
        border-collapse: separate; /* Umožňuje flexibilní zobrazení */
    }

    thead {
        display: none; /* Skryje hlavičku tabulky */
    }

    tbody tr {
        display: flex;
		flex-direction: row-reverse;
        flex-direction: column;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        background-color: #f9f9f9;
    }

    tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 5px;
		flex-direction: row-reverse;
        border-bottom: 1px solid #ddd;
    }

    tbody td:last-child {
        border-bottom: none;
    }

    tbody td::before {
        content: attr(data-label); /* Přidá název sloupce jako popisek */
        font-weight: bold;
        color: #666;
        margin-right: 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* Stylování pro extra malá zařízení */
@media (max-width: 480px) {
    tbody tr {
        padding: 8px;
    }

    tbody td {
        padding: 6px 4px;
    }

    tbody td::before {
        font-size: 12px;
    }

    img {
        max-width: 80px;
        height: auto;
    }
}

 .welcome-text {
     text-align: center;
     margin-top: 20px;
     font-size: 24px;
}
 .tiles {
     display: grid;
     grid-template-columns: repeat(5, 0.9fr);
     gap: 20px;
     margin-top: 35px;
}
 .tile {
     display: block;
     text-decoration: none;
    /* Zruší podtržení odkazu */
    background-color:rgb(73, 0, 0);
     border-radius: 40px;
     padding: 20px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transition: background-color 0.3s ease, transform 0.3s ease;
}
 .tile:hover {
    background-color:rgb(119, 0, 0);
    /* Změna barvy pozadí při hoveru */
     transform: translateY(-5px);
    /* Mírný posun dlaždice při hoveru */
}
 .tile-content {
     text-align: center;
     color:rgb(197, 197, 197);
    }
 .tile-content i {
     font-size: 40px;
     margin-bottom: 10px;
}
 .tile-content span {
     display: block;
     font-size: 18px;
     font-weight: bold;
}
.updates {
    margin-top: 20px;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    padding: 10px;
}

.updates h5 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.updates h4 {
    margin: 0 0 0;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.updates-scroll {
    max-height: 200px; /* Omezení výšky na 200px */
    overflow-y: auto; /* Přidání scroll baru pro vertikální posouvání */
    padding-right: 10px; /* Rezerva pro scrollbar */
}

.updates-scroll ul {
    list-style: none; /* Odebrání bodů seznamu */
    padding: 0;
    margin: 0;
}

.updates-scroll li {
    padding: 5px 0;
    border-bottom: 1px solid #1e1e1e;
    font-size: 14px;
    color: #555;
}

.updates-scroll li:last-child {
    border-bottom: none; /* Odebrání posledního spodního okraje */
}
 @media (max-width: 768px) {
     .tiles {
         grid-template-columns: repeat(2, 1fr);
        /* 2 dlaždice vedle sebe na středně velkých obrazovkách */
    }
}
 @media (max-width: 480px) {
     .tiles {
         grid-template-columns: 1fr;
        /* 1 dlaždice na malých mobilních zařízeních */
    }
}

  /* Skrýt video na menších zařízeních */
  @media screen and (max-width: 920px) {
    #background-video {
      display: none;
    }
  }


 .info-section {
     background-color: #fef8d8;
     border: 1px solid #f0e3a3;
     border-radius: 5px;
     padding: 15px;
     margin-top: 20px;
     text-align: center;
     font-size: 1rem;
     color: #5c5c33;
}
 .info-section a {
     color: #0073e6;
     font-weight: bold;
     text-decoration: none;
}
 .info-section a:hover {
     text-decoration: underline;
}
 .info-section strong {
     display: block;
     margin-bottom: 5px;
}
 .image-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1rem;
}
 .image-card {
     position: relative;
     border: 1px solid #ddd;
     border-radius: 8px;
     text-align: center;
     padding: 10px;
}
 .image-card img {
     max-width: 100%;
     border-radius: 6px;
}
 .image-actions {
     display: flex;
     justify-content: space-around;
     margin-top: 10px;
}
 .image-actions button {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 18px;
     color: #555;
}
 .checkbox {
     position: absolute;
     top: 10px;
     right: 10px;
}
.pagination {
    margin: 20px 0;
    text-align: center;
}
.pagination-button {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    background-color: rgb(63, 63, 63);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.pagination-button.active {
    background-color: rgb(44, 0, 0);
}
.pagination-button:hover {
    background-color: rgb(109, 0, 0);
}

.pagination-admin {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination-admin a {
    padding: 10px 15px;
    background-color:rgb(63, 63, 63);
    color: #dfdfdf;
    text-decoration: none;
    border-radius: 5px;
}
.pagination-admin a.active {
    background-color:rgb(44, 0, 0);
    color: white;
    outline: none;
    transition: background-color 0.1s;
}
.pagination-admin a:hover {
    background-color:rgb(109, 0, 0);
}

 .info-section {
     background-color: #fef8d8;
     border: 1px solid #f0e3a3;
     border-radius: 5px;
     padding: 15px;
     margin-top: 20px;
     text-align: center;
     font-size: 1rem;
     color: #5c5c33;
}
 .info-section a {
     color: #0073e6;
     font-weight: bold;
     text-decoration: none;
}
 .info-section a:hover {
     text-decoration: underline;
}
 .info-section strong {
     display: block;
     margin-bottom: 5px;
}
 .modal {
     display: none;
    /* Hidden by default */
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.5);
}
 .modal-content {
     margin: 10% auto;
     padding: 20px;
     background-color: #fff;
     border-radius: 8px;
     width: 50%;
     text-align: center;
     position: relative;
}
 .modal-body img {
     max-width: 100%;
     max-height: 300px;
     margin-bottom: 10px;
}
 .modal-body p {
     font-size: 16px;
     margin-bottom: 20px;
}
 .close-modal {
     position: absolute;
     top: 10px;
     right: 10px;
     font-size: 24px;
     cursor: pointer;
}
 .btn-confirm-delete {
     background-color: red;
     color: white;
     padding: 10px 20px;
     border: none;
     border-radius: 4px;
     cursor: pointer;
}
 .btn-cancel-delete {
     background-color: #ccc;
     color: black;
     padding: 10px 20px;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     margin-left: 10px;
}

.message-container {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    background-color:rgb(48, 48, 48);
}
.message-player {
    background-color:rgb(48, 48, 48);
    text-align: left;
}
.message-admin {
    background-color:rgb(71 71 71);
    text-align: left;
}
.message-header {
    font-weight: bold;
}
.message-content {
    margin-top: 5px;
}
.user-type-player {
    color: white; /* Barva pro hráče */
}

.user-type-admin {
    color: red; /* Barva pro admina */
}

.user-type-moderator {
    color: orange; /* Barva pro moderátora */
}

.attachment {
    margin-top: 10px;
    color:white;
}
textarea {
    border:1px solid #999999;
    width:100%;
    margin:5px 0;
    padding:3px;
}
		
#message {
	resize: vertical; /* Povolit pouze změnu výšky */
	width: 100%; /* Nastavit šířku na 100 % rodičovského prvku */
	max-width: 100%; /* Zakázat rozšiřování do šířky */
	height: 300px; /* Pevná výška */
	box-sizing: border-box; /* Zahrnout padding a border do celkové velikosti */
}
/*textarea {
    border:1px solid #585858;
    width:100%;
    margin:5px 0;
    padding:3px;
    color:rgb(218, 218, 218);
    background-color: #313131;
    outline: none;
    border-radius: 5px;
}
*/
.form-group {
    position:relative;
    margin: 40px 0;
}
		input {
    background-color: #313131;
    color:rgb(218, 218, 218);
    border-radius: 5px;
    outline: none;
}
#status {
    color:rgb(218, 218, 218);
    background-color: #313131;
    border-radius: 5px;
    outline: none;
	font-family: courier-prime;
}
#category {
    color:rgb(218, 218, 218);
    background-color: #313131;
    border-radius: 5px;
    outline: none;
	font-family: courier-prime;
}
#responder_role {
    color:rgb(218, 218, 218);
    background-color: #313131;
    border-radius: 5px;
    outline: none;
	font-family: courier-prime;
}

.buttons-container {
	display: flex;
	justify-content: center; /* Zarovnání na střed */
	gap: 10px; /* Mezera mezi tlačítky */
	flex-wrap: wrap; /* Zalomení na další řádek při malé šířce 'responsivity' */
}

.panelbutton,
.panelbuttonclose {
	display: inline-block; /* Inline blok pro práci s flexboxem */
	background-color: #490000; /* Základní barva tlačítka */
	width: auto; /* Automatická šířka */
	padding: 10px 20px; /* Prostor uvnitř tlačítka */
	height: auto; /* Automatická výška */
	line-height: normal; /* Normalizované řádkování */
	margin: 0; /* Žádné vnější mezery */
	color: #fff; /* Barva textu */
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border-radius: 5px;
	text-align: center;
	text-decoration: none; /* Odstranění podtržení */
}

.panelbuttonclose {
	background-color: #530000; /* Základní barva tlačítka */
}

.panelbutton:hover,
.panelbuttonclose:hover {
	opacity: 0.9; /* Mírné zesvětlení při najetí myší */
}

.notifications {
    margin: 20px 0;
    padding: 15px;
    background-color: rgb(75, 75, 75);
    color: rgb(154, 182, 151);
    border: 1px solid rgb(127 127 127);
    border-radius: 5px;
    font-size: 16px;
}

.notifications a {
    color: rgb(255 255 255);
    text-decoration: underline;
    font-weight: bold;
}

.notifications a:hover {
    color: rgb(183 183 183);
    text-decoration: none;
}

.settings-container {
    display: flex;
    gap: 20px; /* Mezera mezi boxy */
    justify-content: space-between;
    flex-wrap: wrap; /* Zalomí obsah při malých obrazovkách */
}

.settings-box {
    flex: 1;
	position: relative; /* Umožní absolutní umístění ikony uvnitř boxu */
    /*max-width: 45%;*/
	min-width: 250px;
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-box h3 {
    margin-top: 0;
    border-bottom: 2px solid #aa0404;
    padding-bottom: 10px;
}

.settings-box .info-icon {
    position: absolute;
    top: 15px; /* Nastavte vzdálenost od horního okraje boxu */
    right: 15px; /* Nastavte vzdálenost od pravého okraje boxu */
    width: 20px;
    height: 20px;
    background-color: #aa0404; /* Barva pozadí ikony */
    color: white;
    text-align: center;
    line-height: 20px; /* Vertikální zarovnání textu */
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%; /* Kulatý tvar */
    cursor: pointer;
}

.settings-box .info-icon:after {
    content: attr(data-tooltip); /* Dynamický text z atributu data-tooltip */
    display: none;
    position: absolute;
    top: 25px; /* Zobrazení tooltipu pod ikonou */
    right: 0;
    transform: translateX(-10%);
    background: rgba(0, 0, 0, 0.8); /* Barva pozadí tooltipu */
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    white-space: pre-wrap;
	width: 250px;
    max-width: 250px;
    text-align: center;
    z-index: 100;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-box .info-icon:hover:after {
    display: block; /* Zobrazení tooltipu při najetí myší */
}

#drop-zone {
    border: 2px dashed #b1b1b1;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
    background-color: #313131;
}
#drop-zone.dragover {
    border-color: #6f9f31;
    background-color: #eaffd6;
    color: #333;
}
#preview-image {
    max-width: 25%;
    height: auto;
    display: block;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.ql-editor {
     min-height: 200px;
}

#success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}

.attachments {
    margin-top: 20px;
}

.attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/*
.attachment {
    text-align: center;
    max-width: 150px;
}
*/
.attachment-thumbnail {
    width: auto;
    height: auto; /* Nastavte pevnou výšku */
    object-fit: cover; /* Umožní oříznutí obrázku při zachování poměru stran */
    border: 1px solid #000;
    margin-bottom: 10px;
    border-radius: 5px; /* Volitelné: Přidá zakulacené rohy */
}

.youtube-embed-container {
    position: relative;
    width: 100%; /* Zabírá celou šířku rodiče */
    max-width: 560px; /* Maximální šířka na velkých obrazovkách */
    /* margin: 0 auto;  Vycentrování */
    aspect-ratio: 16 / 9; /* Nastavení poměru stran */
    overflow: hidden; /* Skryje přetečení obsahu */
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Zabírá celou šířku rodiče */
    height: 100%; /* Zabírá celou výšku rodiče */
    border: 0; /* Odebrání rámečku */
}

.youtube-embed-container p {
    margin-top: 10px;
    #text-align: center;
}

.youtube-embed-container a {
    color: #007bff;
    text-decoration: underline;
}

.reactions {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #eee;
}

.reaction-buttons {
    margin-bottom: 10px;
}

.reaction-btn {
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    cursor: pointer;
	color: #ffffff;
	background-color: #666;
}

.reaction-summary {
    font-size: 0.9em;
    color: #666;
}

.reaction-item {
    margin: 2px 0;
}

.message-container {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

.message-admin {
    background-color: rgba(200, 230, 255, 0.1);
    margin-left: 20px;
}

.message-moderator {
    background-color: rgba(200, 255, 200, 0.1);
    margin-left: 20px;
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* EDITOR */

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 0px;
    border-radius: 5px;
}

.ql-toolbar.ql-snow {
    border: 1px solid #797979cc;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    padding: 8px;
    border-radius: 5px;
}

.ql-container.ql-snow {
    border: 1px solid #797979cc;
}

/* Styly pro zprávy */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
}

#loading {
    text-align: center;
    padding: 10px;
    color: #666;
    font-style: italic;
}

.fa-user-shield {
    transition: opacity 0.3s;
}
button[disabled].steambutton {
    opacity: 0.6;
    cursor: not-allowed;
}

