:root {
  --bg-color: #0d0d0d;
  --primary-accent: #ff4ec6;
  --secondary-accent: #4ecbff;
  --text-color: #fff;
  --text-secondary-color: #333;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: arial, sans-serif;
}

/* .background {
	background-image: url('images/background.png');
  	background-size: cover;
  	background-repeat: no-repeat;
  	background-position: center;
  	background-attachment: fixed;
} */

#guilds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.guild-box {
  background-color: var(--secondary-accent);
  border: 1px solid var(--primary-accent);
  color: var(--text-color);
  border-radius: 10px;
  width: 220px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
  text-align: center;
}

.guild-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guild-box img {
  border-radius: 50%;
  margin-bottom: 10px;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.guild-box h2 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--text-color);
}

.guild-box p {
  font-size: 13px;
  margin: 2px 0;
  color: #666;
}

body.dark {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: sans-serif;
  margin: 0;
  padding: 1rem;
}

header, footer {
  background-color: var(--secondary-accent);
  padding: 1rem;
  color: var(--bg-color);
  text-align: center;
}

h1 {
  color: var(--primary-accent);
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px;
	background: var(--bg-color);
	color: var(--text-color);
}
.u-name {
	font-size: 20px;
	padding-left: 17px;
}
.u-name b {
	color: var(--secondary-accent);
}
.header i {
	font-size: 30px;
	cursor: pointer;
	color: var(--text-color);
}

.header .notification {
	position: relative;
	cursor: pointer;
}

.header .notification span{
	position: absolute;
	top: 5px;
	left: 5px;
	background: #C80000;
	padding: 1px;
	border-radius: 50%;
}
.header .notification:hover i{
	color: var(--secondary-accent);
}
.notification-bar {
	display: none;
	width: 90%;
	max-width: 300px;
	position: absolute;
	right: 0;
	background: var(--bg-color);
	padding: 5px;
	border: 1px solid var(--secondary-accent);
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.notification-bar ul li{
	list-style: none;
	margin-top: 10px;
}
.notification-bar ul li a{
	text-decoration: none;
	color: var(--primary-accent);
}

.notification-bar ul li:nth-child(even){
	background: var(--bg-color);
}
.open-notification {
	display: block;
}


.user-p {
	text-align: center;
	padding-left: 10px;
	padding-top: 25px;
}
.user-p img {
	width: 100px;
	border-radius: 50%;
}
.user-p h4 {
	color: var(--text-color);
	padding: 5px 0;

}
.side-bar {
	width: 250px;
	background: var(--bg-color);
	min-height: 100vh;
	transition: 500ms width;
}
.body {
	display: flex;
	background-color: var(--bg-color);
}


.side-bar ul {
	margin-top: 20px;
	list-style: none;
}

.side-bar ul li {
	font-size: 16px;
	padding: 15px 0px;
	padding-left: 20px;
	transition: 500ms background;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.side-bar ul li:hover {
	background: var(--bg-color);
}

.side-bar ul li a {
	text-decoration: none;
	color: var(--text-color);
	cursor: pointer;
	letter-spacing: 1px;
}
.side-bar .active a {
	color: var(--secondary-accent) !important;
}
.side-bar .active a i {
	color: var(--secondary-accent) !important;
}

.side-bar ul li a i {
	display: inline-block;
	padding-right: 10px;
	font-size: 23px;
}
#navbtn {
	display: inline-block;
	margin-left: 70px;
	font-size: 20px;
	transition: 500ms color;
}
#checkbox {
	display: none;
}
#checkbox:checked ~ .body .side-bar {
	width: 60px;
}
#checkbox:checked ~ .body .side-bar .user-p{
	visibility: hidden;
}
#checkbox:checked ~ .body .side-bar a span{
	display: none;
}

.shadow {
	backdrop-filter: blur(10px); 
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 20px;
	border-radius: 25%;
}


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

.login-body form h3 {
	color: var(--text-color);
	text-align: center;
}

.login-body form label {
	color: var(--text-color);
}

.login-body form button{
	display: block;
	margin: 0 auto;
}

.section-1 {
	padding: 30px;
}
.section-1 .title {
    margin-bottom: 10px;
}
.section-1 .title a{
	text-decoration: none;
	display: inline-block;
    padding-left: 10px;
	border: none;
	background: var(--primary-accent);
	padding: 10px 15px;
	color: var(--text-color);
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	transition: background 1s;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.section-1 .title-2 {
    margin-bottom: 10px;
}
.section-1 .title-2 .btn{
	text-decoration: none;
	display: inline-block;
    padding-left: 10px;
	border: none;
	background: #00CF22;
	padding: 10px 15px;
	color: var(--text-color);
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	transition: background 1s;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.section-1 .title-2 .btn:hover{
	opacity: .6;
}
.section-1 .title-2 a{
	display: inline-block;
	margin-left: 10px;
}


.section-1 {
	width: 100%;
	background: var(--bg-color);
}
.section-1 .title a:hover{
	opacity: .6;
}

.main-table, .main-table tr, .main-table th, .main-table td {
  border: 1px solid var(--secondary-accent);
  color: var(--text-color);
  border-collapse: collapse;
  padding: 7px;
}
.main-table {
	width: 90%;
	margin-top: 30px;
}


.delete-btn{
	text-decoration: none;
	display: inline-block;
    padding-left: 10px;
	border: none;
	background: var(--primary-accent);
	padding: 10px 15px;
	color: var(--text-color);
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	transition: background 1s;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.delete-btn:hover{
	opacity: .6;
}

.edit-btn{
	text-decoration: none;
	display: inline-block;
    padding-left: 10px;
	border: none;
	background: var(--secondary-accent);
	padding: 10px 15px;
	color: var(--text-color);
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	transition: background 1s;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.edit-btn:hover{
	opacity: .6;
}
.form-1 {
	width: 90%;
	max-width: 500px;
}
.input-holder label {
	display: block;
	margin-bottom: 5px;
	color: var(--text-color);
}

.input-1 {
	border: 2px solid var(--secondary-accent);
	width: 100%;
	padding: 10px;
	font-size: 15px;
	outline: none;
	border-radius: 5px;
	display: block;
}

.input-1:focus{
	border-color: #555;
}
.danger {
	background: #FF98AA;
	color: #B20008;
	padding: 10px;
	margin-bottom: 10px;
}
.success {
	background: #80CE91;
	color: #009D22;
	padding: 10px;
	margin-bottom: 10px;
}
.dashboard {
	display: flex;
	max-width: 650px;
	width: 95%;
	justify-content: space-between;
	flex-wrap: wrap;
}
.dashboard-item {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    text-align: center;
    background: #262931;
    width: 200px;
    height: 200px; 
    padding: 30px 5px;
    margin-bottom: 40px;
}
.dashboard-item i{
	display: block;
    color: #fff;
    font-size: 30px;
    margin-bottom: 5px;
}
.dashboard-item span{
	display: block;
    color: var(--text-color);
}

.server-card {
  background: var(--secondary-accent);      
  border-radius: 8px;             
  padding: 16px;                  
  margin-bottom: 16px;          
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  color: var(--text-color);                  
  display: flex;                
  align-items: center;          
  gap: 16px;                     
  max-width: 400px;              
}

.server-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;            
  object-fit: cover;             
  background-color: var(--secondary-accent);     
}

.server-card h3 {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
  flex-grow: 1;                  
}

.server-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary-color);              
}

.server-card button {
  background-color: var(--primary-accent);    
  border: none;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--primary-accent);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.server-card button:hover {
  background-color: var(--secondary-accent);
  border: 1px solid var(--primary-accent);
}

.modal {
  display: none;
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow: auto;
}
.modal.active {
  display: block;
}

.modal-content {
  background-color: #2f3136;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  color: white;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  background-color: var(--secondary-accent);
  color: var(--text-secondary-color);
  width: 40px;
  border-radius: 6px;
}

.command-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

/* ukrycie checkboxa */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--primary-accent);
  border-radius: 24px;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary-color);
  border-radius: 50%;
  transition: .4s;
}

/* zaznaczony */
input:checked + .slider {
  background-color: var(--secondary-accent);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.module-item {
  padding: 10px 15px;
  margin-bottom: 8px;
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.module-item:hover {
  background-color: #e0e0e0;
}

.module-item input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.module-item strong {
  font-size: 1rem;
  color: #333;
}


/* Sklep css */


.section-subscription {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}
#checkbox:checked ~ .body .section-subscription {
    margin-left: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-accent);
}

/* Kontener kart subskrypcyjnych - podobny do dashboard */
.subscription-dashboard {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dopasowanie pricing-card do dashboard style */
.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 25px 30px;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
    transform: translateY(-5px);
}

.pricing-card h3 {
    color: #007bff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

/* Cena jako flexbox, by pomieścić starą i nową cenę */
.pricing-card.promo-card .price {
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.pricing-card .price {
    /* domyślny styl, nadpisany dla promo-card */
    color: var(--secondary-accent);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

/* Stara cena przekreślona i ciemniejsza dla lepszej czytelności */
.pricing-card.promo-card .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.1rem;
    margin-top: 5px;
}
/* Nowa cena wyróżniona złotym kolorem */
.pricing-card.promo-card .new-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-accent); /* złoty */
	z-index: 2;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}

.pricing-card .features li {
    position: relative;
    padding-left: 22px;
    margin: 10px 0;
}

/* Ikona check z FontAwesome (upewnij się, że masz załadowaną bibliotekę FA) */
.pricing-card .features li::before {
    content: "\f058"; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-size: 1rem;
}

.btn-custom {
    background-color: #007bff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.25s ease;
}

.btn-custom:hover,
.btn-custom:focus {
    background-color: #0056b3;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.7);
}

/* Promo card dodatkowe ustawienia */
.pricing-card.promo-card {
    position: relative; /* potrzebne dla badge */
}

/* Badge w prawym górnym rogu */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff4d4d;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(255, 77, 77, 0.6);
    user-select: none;
    z-index: 10;
}
