
body {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
     -moz-user-select: none; /* Old versions of Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none;
  background-color: black;
  background-size:cover;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  color: black;
}

.input-group-wrapper {
  display: flex;
  justify-content: center; /* wyśrodkowanie całego bloku */
  margin-bottom: 0.5rem;
}

.input-group-inner {
  display: flex;
  align-items: center; /* pionowe centrowanie inputa i przycisku */
  gap: 5px;
}

.alliance-input {
  width: 70px;
  text-align: center;
}

.guild-player-input {
  width: 10px;
  min-width: 80px;
  max-width: 360px;
  font-size: 0.9rem;
  text-align: center;
}

.input-group-wrapper {
  display: flex;
  justify-content: center; /* centrowanie tylko inputa */
  margin-bottom: 0.5rem;
  position: relative; /* pozwala ustawić przycisk względem inputa */
}

.input-group-inner {
  display: inline-flex;
  position: relative;
}

.input-group-inner input {
  text-align: center;
}

.btn-remove-input {
  position: absolute;
  right: -34px; /* odstęp od prawej krawędzi inputa */
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-color: #dc3545; /* czerwone tło */
  border: none;
  border-radius: 6px; /* lekko zaokrąglone rogi */
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-remove-input:hover {
  background-color: #b02a37; /* ciemniejszy czerwony */
  transform: translateY(-50%) scale(1.1);
}

.btn-remove-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.4);
}


  @media (max-width: 767.98px) {
    /* Na małych ekranach zmniejszamy padding kolumn, by były bliżej siebie */
    .custom-color-row > .col-6 {
      padding-left: 0.25rem !important;
      padding-right: 0.25rem !important;
    }
  }
input[type="color"] {
  border-radius: 10px;
  border: none;
  outline: none;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

.form-section {
    margin-top: 0.5rem; /* zamiast domyślnych ~1.5rem */
    margin-bottom: 0.5rem;
}

main {
  min-height: 90vh; /* pełna wysokość ekranu */
  display: flex;
  align-items: center; /* wyśrodkowanie w pionie */
  justify-content: center; /* wyśrodkowanie w poziomie */
}

.img-fluid {
  max-width: 60%;
}

.image-container {
  text-align: center;
}

.image-container img {
  margin: 10px;
  max-width: 80%;
  height: 80%;
}

.header {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar {
  width: 5%;
  max-width: 35px;
  border-radius: 50%;
  margin-right: 10px;
}

.avatar-name-container {
  display: flex;
  align-items: center;
}

.avatar-name-gap {
  margin-left: 10px;
}

.header h3 {
  font-size: 1.5vw;
}

.premium-btn {
  white-space: nowrap;
}

input {
  text-align: center;
}

.container {
  max-width: 1200px; /* lub inna szerokość */
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.row {
  color: white;
}

.card-title {
  color: white;
}

.card-text {
  color: white
}

.me-auto {
  margin-right: auto!important;
}

.text-muted {
  color: black;
  font-weight: normal;
  font-size: 14px
}

.btn-success {
  white-space: nowrap;
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}
.btn {
  border-radius: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
  white-space: nowrap;
  font-size: 4vw;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-white {
  white-space: nowrap;
  color: black;
  background-color: white;
  border-color:  white;
  --bs-btn-color: white;
  --bs-btn-bg: white !important;
  --bs-btn-border-color: white;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: white;
  --bs-btn-hover-border-color: white;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: white;
  --bs-btn-active-border-color: white;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: white;
  --bs-btn-disabled-border-color: white;
}
.btn-white:hover {
  border-color: white !important;
  box-shadow: 0 0 1em 0 white;
}

.btn-green {
  white-space: nowrap;
  color: white;
  background-color: green;
  border-color:  green;
  --bs-btn-color: green;
  --bs-btn-bg: green !important;
  --bs-btn-border-color: green;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: green;
  --bs-btn-hover-border-color: green;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: green;
  --bs-btn-active-border-color: green;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: green;
  --bs-btn-disabled-border-color: green;
}
.btn-green:hover {
  border-color: green !important;
  box-shadow: 0 0 1em 0 green;
}

.btn-gold {
  white-space: nowrap;
  color: white;
  background-color: gold;
  border-color:  gold;
  --bs-btn-color: #fff;
  --bs-btn-bg: gold !important;
  --bs-btn-border-color: gold;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: gold;
  --bs-btn-hover-border-color: gold;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: gold;
  --bs-btn-active-border-color: gold;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: orange;
  --bs-btn-disabled-border-color: orange;
}
.btn-gold:hover {
  border-color: gold !important;
  box-shadow: 0 0 1em 0 gold;
}

.btn-red {
  white-space: nowrap;
  color: white;
  background-color: red;
  border-color:  red;
  --bs-btn-color: #fff;
  --bs-btn-bg: red !important;
  --bs-btn-border-color: red;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: red;
  --bs-btn-hover-border-color: red;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: red;
  --bs-btn-active-border-color: red;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: orange;
  --bs-btn-disabled-border-color: orange;
}
.btn-red:hover {
  border-color: red !important;
  box-shadow: 0 0 1em 0 red;
}

.btn-blue {
  color: white;
  background-color: blue;
  border-color:  blue;
  --bs-btn-color: blue!important;
  --bs-btn-bg: blue !important;
  --bs-btn-border-color: blue!important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: blue!important;
  --bs-btn-hover-border-color: blue!important;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: blue;
  --bs-btn-active-border-color: blue;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: blue;
  --bs-btn-disabled-border-color: blue;
}
.btn-blue:hover {
  border-color: blue !important;
  box-shadow: 0 0 1em 0 blue;
}

.btn-yellow {
  color: white;
  background-color: yellow;
  border-color:  yellow;
  --bs-btn-color: yellow!important;
  --bs-btn-bg: yellow !important;
  --bs-btn-border-color: yellow!important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: yellow!important;
  --bs-btn-hover-border-color: yellow!important;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: yellow;
  --bs-btn-active-border-color: yellow;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: yellow;
  --bs-btn-disabled-border-color: yellow;
}
.btn-yellow:hover {
  border-color: yellow !important;
  box-shadow: 0 0 1em 0 yellow;
}

.btn-orange {
  color: white;
  background-color: orange;
  border-color:  orange;
  --bs-btn-color: orange!important;
  --bs-btn-bg: orange!important;
  --bs-btn-border-color: orange!important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: orange!important;
  --bs-btn-hover-border-color: orange!important;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: orange;
  --bs-btn-active-border-color: orange;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: orange;
  --bs-btn-disabled-border-color: orange;
}
.btn-orange:hover {
  border-color: orange !important;
  box-shadow: 0 0 1em 0 orange;
}

.btn-violet {
  color: white;
  background-color: blueviolet;
  border-color:  blueviolet;
  --bs-btn-color: blueviolet!important;
  --bs-btn-bg: blueviolet !important;
  --bs-btn-border-color: blueviolet !important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: blueviolet !important;
  --bs-btn-hover-border-color: blueviolet !important;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: blueviolet;
  --bs-btn-active-border-color: blueviolet;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: blueviolet;
  --bs-btn-disabled-border-color: blueviolet;
}
.btn-violet:hover {
  border-color: blueviolet !important;
  box-shadow: 0 0 1em 0 blueviolet;
}

@media (max-width: 768px) {
  .btn {
      padding: 0.25rem 0.5rem;
      font-size: 12px; 
  }
  .avatar {
    width: 30px;
    height: 30px;
}
.header h3 {
    font-size: 16px;
}

}

footer {
  background-color: #2e2e2e;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer img {
  max-width: 5%;
  height: 5%;
}

#notfound {
  position: relative;
  height: 80vh;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound {
  max-width: 460px;
  width: 100%;
  text-align: center;
  line-height: 1.4;
}

.notfound .notfound-404 {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0px auto 50px;
}

.notfound .notfound-404>div:first-child {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #ffa200;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  border: 5px dashed #000;
  border-radius: 5px;
}

.notfound .notfound-404>div:first-child:before {
  content: '';
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -5px;
  top: -5px;
  -webkit-box-shadow: 0px 0px 0px 5px rgba(0, 0, 0, 0.1) inset;
          box-shadow: 0px 0px 0px 5px rgba(0, 0, 0, 0.1) inset;
  border-radius: 5px;
}

.notfound .notfound-404 h1 {
  font-family: 'Cabin', sans-serif;
  color: #000;
  font-weight: 700;
  margin: 0;
  font-size: 90px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 50%;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

.notfound h2 {
  font-family: 'Cabin', sans-serif;
  font-size: 33px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 7px;
  color: white;
}

.notfound p {
  font-family: 'Cabin', sans-serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
}

