:root{
    --bg: #fafafa;
    --bg-2: #f5f5f5;
    --bg-3: #ffffff;
    --text: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 2px 30px 7px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 0px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 20p;
    --radius-lg: 12px;
    --whisper: "Whisper", serif;
    --inter: "Inter", serif;
    --border-line: #e5e7eb;
    --link-color: #3b82f6;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--text);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--link-color);
  }


marker {
    pointer-events:none;
    width:10px;
    height:10px;
    position:absolute;
    top:10px;
    left:10px;
}

html{
    scroll-behavior: smooth;
}

::placeholder {
  color: rgb(148 148 148 / 50%);
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
 color: rgb(148 148 148 / 50%);
}

form img{
	width: fit-content;
	height: 50vh;
	max-height: 45vh;
	margin: 0 auto;
	display: block;
	background-color: transparent;
	margin: 0 auto;
	margin-bottom: 20px;
	width: -webkit-fill-available;
	overflow: hidden;
	appearance: none;
}

section.popup{
	position:fixed;
	top:0;
	left:0;
	height: 100%;
	width:100%;
	margin:0 auto;
	background-color: transparent;
	max-height: calc(100% - 55px);
	overflow-y: auto;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: none;
	will-change: blur;
	z-index: 1;
}
section.popup tools{
	max-width: 90%;
	margin:0 auto;
}
section.popup tools button{
	background:transparent;
}
section.popup.active{
	display:block;
}
section.popup ul:nth-child(1){
	list-style:none;

}

section.popup ul:nth-child(2){
	list-style:none;
	padding:10px;
	box-sizing:border-box;
	white-space:normal;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 90%;
	margin: 0 auto;
}

section.popup ul:nth-child(2) li{
	overflow: hidden;
	margin: 10px;
	text-align: center;
	display: block;
}
 section.popup ul:nth-child(2) li h2{
	 display:none;
 }
section.popup ul:nth-child(2) li p{
	 display:none;
 }
section.popup ul:nth-child(2) li button{
	 display:none;
 }
section.popup ul:nth-child(2) li cover{
	height: 200px;
	width: 200px;
	background-size:cover;
	position: relative;
	display: block;
	border-radius: 5px;
}
body {
    background-color: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    cursor: default;
    overflow: hidden;
    line-height: 1.6;
}
body:before{
	content:'';
	background: linear-gradient(0deg, #00000008, transparent);
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index: 0;
	background-color: var(--bg);
	background-size: cover;
}

progress-bar{
	display:block;
	height:20px;
	background-color:var(--bg-2);
	margin:20px 0;
	border-radius:6px;
	overflow:hidden;
	margin: 0;
	width: 100%;
}
progress-bar span{
	display:block;
	height:100%;
	width:0%;
	background-color:#00b88f;
	transition:all ease 1s;
}
section[main] {
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
    display: block;
    height: 100vh;
    scroll-behavior: smooth;
}


section[header] mc-ico{
    margin-right: 0;
    transform: scale(0.5);
}
section[header]{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width: calc(100% - 8px);
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 100;
    opacity: 1;
    animation: hidden 1s ease, fade 1s 1s ease;
}

section[header].white button{
    color: #F3F3F3;
}
section[header].white button span[ico]{
    filter:invert(1)
}

section[header].white mc-ico-parallel:before{
    background-color: #d8d8d8;
}

section[header].white mc-ico:before{
      background-color: #d8d8d8;
}

section[header] block{
    width:50%;
    display: flex;
    flex-direction: row;
    padding: 10px;
    justify-content: flex-end;
    align-items: flex-start;
}
section[header] block ul{
    display:flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: row;
    align-content: flex-start;
    align-items: center;
}

trademark {
    opacity: 1;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform: scale(0.02);
    animation: compare 2s 3s ease;
    transition: all ease 0.5s;
    will-change: transform;
}

trademark mc-ico {
    left: calc(25% - 10px);
    top: 50%;
    left: calc(50% - 23px);
    transform: scale(60) translate(39%, 0);
}

mc-ico:before {
    content: ' ';
    line-height: 50px;
    border-color: transparent;
    margin-top: 3px;
    padding: 0;
    background-color: var(--net-blue-color);
    width: 10px;
    height: 10px;
    margin-top: 0px;
    float: left;
    border-radius: 100%;
    background-color: var(--red);
    margin-right: -4px;
    transition: all ease 0.33s;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--net-color-1);
    animation: net-eye 3s 0.1s ease-in-out 1;
    /* box-shadow: 0px 3px 19px var(--net-color-4); */
}

mc-ico-parallel {
    display: block;
    float: right;
    margin-left: 2px;
    width: auto;
    will-change: transform;
}
section[header] mc-ico-parallel:before{
    background-color:#000;
}
section[header] mc-ico:before{
    background-color:#000;
}
mc-ico-parallel:before {
    content: '';
    border-color: transparent;
    margin-top: 3px;
    margin-left: 14px;
    padding: 0;
    background-color: #F3F3F3;
    width: 6px;
    height: 6px;
    margin-top: 1px;
    margin-right: 3px;
    float: left;
    border-radius: 100%;
    transition: all ease 0.4s;
}

.active mc-ico-parallel:after {
    animation: bounce1 0.33s 2.66s 2 linear;
    background-color: var(--deep-black);
}

mc-ico-parallel:after {
    content: '';
    position: absolute;
    padding: 0px 10px;
    border: solid 2px var(--button-color);
    margin-left: -13px;
    border: solid 1px transparent;
    margin-top: -8px;
    transition: all ease 0.33s;
    transform: rotate(150deg);
    height: 3px;
    background-color: #F3F3F3;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border-bottom: none;
    background-color: #00FFC6;
    transition: all ease 0.33s;
    box-shadow: 0px 0px 0px var(--white);
}

mc-ico {
    display: block;
    float: right;
    width: auto;
    padding-top: 10px;
    padding-right: 10px;
    margin-top: 25px;
    margin-left: 25px;
    transform: scale(0.7) translate(10px, -3px);
    transition: all ease 0.33s;
    position: relative;
    margin: 0 auto;
    float: left;
    /* width: 100%; */
    top: unset;
    opacity: 1;
    padding: 25px 15px;
    z-index: 100;
    padding-left: var(--medium-spacing);
    transform: scale(1) translate(10px, 10px);
    margin-top: calc(var(--small-spacing) / 1.3);
    margin-top: 0;
    margin-bottom: 0;
    will-change: transform;
}

mc-ico.active {
    opacity: 1;
    width: 33px;
    transform: scale(1.5);
    top: calc(50vh - 167px);
}

mc-ico.active.check:before, mc-ico.active.check:after, mc-ico.active.check mc-ico-parallel:before, mc-ico.active.check mc-ico-parallel:after {
    background-color: var(--green);
    opacity: 0;
}

mc-ico[back_mode] mc-ico-parallel:after {
    margin-top: -17px;
    padding: 0 16px;
    margin-left: -24px;
    height: 3px;
}

mc-ico[back_mode] mc-ico-parallel:before {
    display: none;
}

mc-ico[back_mode] mc-ico-parallel {
    float: left;
}

mc-ico[back_mode]:before {
    display: none;
}

mc-ico[back_mode]:after {
    margin-top: 4px;
    height: 4px;
    margin-left: -24px;
}



mc-ico:before {
    content: ' ';
    line-height: 50px;
    border-color: transparent;
    margin-top: 3px;
    padding: 0;
    background-color: var(--net-blue-color);
    width: 10px;
    height: 10px;
    margin-top: 0px;
    float: left;
    border-radius: 100%;
    background-color: #F3F3F3;
    margin-right: -4px;
    transition: all ease 0.33s;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    color: #F3F3F3;
    animation: net-eye 3s 0.1s ease-in-out 1;
    /* box-shadow: 0px 3px 19px var(--net-color-4); */
}

mc-ico:after {
    content: '';
    position: absolute;
    padding: 0px 16px;
    border: solid 2px var(--button-color);
    margin-left: -23px;
    border: solid 0px var(--bg-color);
    margin-top: -13px;
    transition: all ease 0.33s;
    transform: rotate(38deg) translate(0, 0);
    height: 5px;
    background-color: #FF006F;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border-top: none;
    border-bottom: none;
    animation-iteration-count: 3;
}

ul {}
section[header] block ul li{
    padding:10px;
    display: inline-flex;
    font-size: clamp(15px, 1.5vw, 20px);
    white-space: nowrap;
    align-items: center;
}

section[header] block ul li.white{
    color:#fff;
}
section[header] block ul li.black{
    color:#000000;
}
section[header] block ul li a{
    color:unset;
}

 section[header].black section[languages] ul li a{
    color:#000;
}
 section[header].white section[languages] ul li a{
    color:#ffffff;
}
section[header].black section[languages] ul li{
    border-bottom: solid 1px rgb(0 0 0 / 30%);
}
 section[header].white section[languages]{
    background:rgb(122 122 122 / 70%);
}
section[header] section[languages]{
    position:fixed;
    top: 9.66vh;
    left:20px;
    height:fit-content;
    display:flex;
    background-color: rgb(255 255 255 / 70%);
    border-radius:4px;
    font-size:var(--text);
    flex-direction: column;
    padding: 10px 20px;
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
    transform: scale(0.7) translate(0px, -76px);
    transition: all ease .44s;
    pointer-events:none;
    opacity:0;
}
section[header] section[languages].active{
        transform: scale(1) translate(0px, 0px);
    pointer-events:all;
    opacity:1;

}
section[header] section[languages] ul{
    display:flex;
    flex-direction:column;
}

section[header] section[languages] ul li{
    font-size: clamp(20px, 3vw, 30px);
    width:100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    border-bottom: solid 1px rgb(255 255 255 / 30%);
    padding: 10px;
}
section[header] section[languages] ul li:last-child{
    border-bottom-color:transparent;
    padding-bottom: 10px;
}
section[header] section[languages] ul li a{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

section[header] section[languages] ul li ico{
    border-radius: 4px;
    margin: 0;
    padding: clamp(15px, 2vw, 15px);
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
}

.language-selector-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hide mobile language selector on desktop */
@media (min-width: 769px) {
    .language-selector-mobile {
        display: none;
    }
}

/* Hide desktop language selector on mobile */
@media (max-width: 768px) {
    .language-selector {
        display: none;
    }
}

/* Active page styles */
heading-container ul.desktop-menu li a.active,
heading-container ul.mobile-menu li a.active {
    color: var(--primary-color, #007bff);
    font-weight: 600;
}

section[header] block ul li span{
    letter-spacing:-0.1vw;
    font-weight: 500;
}


section[ui="menu"] {
	position: fixed;
	top: unset;
	bottom: 55px;
	height: 0;
	width: 100%;
	max-width: 90px;
	padding: 10px;
	min-height: 0;
	z-index: 1;
	box-sizing: border-box;
	background-color: rgb(245 245 245);
	border-right: solid 1px var(--border);
	will-change: blur;
	padding: 0;
	opacity: 0;
	transition: all ease 0.5s;
	z-index: 10000;
	overflow: hidden;
	overflow-y: auto;
}

section[ui="menu"] close-screen {
	position: fixed;
	width: 100vh;
	height: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 0;
}

section[ui="menu"].active close-screen {
	height: 100vh;
	width: 100%;
	position: absolute;
}

section[ui="menu"].active {
	display: block;
	max-height: calc(100% - 55px);
	min-height: 320px;
	height: 100%;
	padding: 10px;
	opacity: 1;
	cursor: default;
	user-select: none;
}

section[ui="menu"] ul {
	display: flex;
	margin: 0;
	list-style: none;
	padding: 0;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	z-index: 100;
	position: relative;
}

section[ui="menu"] ul span:first-child {
	width: 100%;
	font-size: 8px;
	margin: 0;
	line-height: 1;
	letter-spacing: 0;
	text-align: right;
	opacity: 0.5;
	text-transform: capitalize;
}

section[ui="menu"] ul li {
	margin: 10px;
	max-width: 70px;
	border-radius: 50%;
	border: none;
	text-align: center;
	display: flex;
	flex-direction: column;
}

section[ui="menu"] ul li span {
	font-size: 10px;
	letter-spacing: 0;
	font-weight: 700;
	margin-top: 5px;
	line-height: 1;
	display: inline-block;
}

section[ui="menu"] ul li.active ico {
	animation: bounce 0.15s ease alternate 4;
}

section[ui="menu"] ul li ico {
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
	width: 50px;
	height: 50px;
	display: block;
	position: relative;
	animation: none;
	transition: all ease 0.5s;
	transform: translate(0, 0);
	border-radius: 1pc;
}

section[ui="menu"] ul li ico[settings] {
	background: linear-gradient(0deg, #232323, #5c5c5c);
	overflow: hidden;
}

section[ui="menu"] ul li ico[settings]:after {
	content: '';
	background-image: url('./ico/settings.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}

section[ui="menu"] ul li ico[installation] {
	background: linear-gradient(45deg, #ffe433, #ff5d9b, #f94aff, #30e0b6);
	overflow: hidden;
	background-size: 400% 400%;
	animation: gradient 3s ease infinite;
}

section[ui="menu"] ul li ico[ai] {
	background: linear-gradient(45deg, #ffe433, #ff5d9b, #f94aff, #30e0b6);
	overflow: hidden;
	background-size: 400% 400%;
	animation: gradient 3s ease infinite;
}

section[ui="menu"] ul li ico[share] {
	background: linear-gradient(45deg, #ffe433, #ff5d9b, #f94aff, #30e0b6);
	overflow: hidden;
	background-size: 400% 400%;
	animation: gradient 3s ease infinite;
}

section[ui="menu"] ul li ico[profile] {
	background: linear-gradient(0deg, #dbdbdb, #ffffff);
	overflow: hidden;
}

section[ui="menu"] ul li ico[users] {
	background: linear-gradient(0deg, #dbdbdb, #ffffff);
	overflow: hidden;
}

section[ui="menu"] ul li ico[chart] {
	background: linear-gradient(40deg, #ffc600, #ff00e7);
	overflow: hidden;
}

section[ui="menu"] ul li ico[mail] {
	background: linear-gradient(0deg, #232323, #5c5c5c);
	overflow: hidden;
}

section[ui="menu"] ul li ico[contact-setting] {
	background: linear-gradient(0deg, #676767, #919191);
	overflow: hidden;
}



section[ui="menu"] ul li ico[profile]:after {
	content: '';
	background-image: url('./ico/profile.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter:invert(1);
	-webkit-filter:invert(1)
}

section[ui="menu"] ul li ico[users]:after {
	content: '';
	background-image: url('./ico/users.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}

section[ui="menu"] ul li ico[chart]:after {
	content: '';
	background-image: url('./ico/chart.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}
section[ui="menu"] ul li ico[mail]:after {
	content: '';
	background-image: url('./ico/contact.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}
section[ui="menu"] ul li ico[contact-setting]:after {
	content: '';
	background-image: url('./ico/contact-setting.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}
section[ui="menu"] ul li ico[list] {
	background: linear-gradient(0deg, #3258ff, #3681ff);
	overflow: hidden;
}

section[ui="menu"] ul li ico[list]:after {
	content: '';
	background-image: url('./ico/list.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}


section[ui="menu"] ul li ico[categories] {
	background: linear-gradient(0deg, #aa32ff, #3681ff);
	overflow: hidden;
}

section[ui="menu"] ul li ico[categories]:after {
	content: '';
	background-image: url('./ico/category.svg?');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
}

section[ui="menu"] ul li ico[new] {
	background: linear-gradient(0deg, #676767, #919191);
	overflow: hidden;
}

section[ui="menu"] ul li ico[new]:after {
	content: '';
	background-image: url('./ico/new.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter: invert(1);
	-webkit-filter: invert(1);
}


section[ui="menu"] ul li ico[files] {
	background: linear-gradient(0deg, #ff008b, #ff6500);
	overflow: hidden;
}

section[ui="menu"] ul li ico[files]:after {
	content: '';
	background-image: url('./ico/storage.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter: invert(1);
	-webkit-filter: invert(1);
}

section[ui="menu"] ul li ico[newFile] {
	background: linear-gradient(0deg, #ff5e00, #ffb100);
	overflow: hidden;
}

section[ui="menu"] ul li ico[newFile]:after {
	content: '';
	background-image: url('./ico/new.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter: invert(1);
	-webkit-filter: invert(1);
}

section[ui="menu"] ul li ico[documents] {
	background: linear-gradient(0deg, #4CAF50, #8BC34A);
	overflow: hidden;
}

section[ui="menu"] ul li ico[installation]:after {
	content: '';
	background-image: url('./ico/sunflower.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;

}
section[ui="menu"] ul li ico[ai]:after {
	content: '';
	background-image: url('./ico/sunflower.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;

}
section[ui="menu"] ul li ico[share]:after {
	content: '';
	background-image: url('./ico/share.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;

}
section[ui="menu"] ul li ico[documents]:after {
	content: '';
	background-image: url('./ico/documents.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter: invert(1);
	-webkit-filter: invert(1);
}

section[ui="menu"] ul li ico[support] {
	background: linear-gradient(0deg, #2196F3, #03A9F4);
	overflow: hidden;
}

section[ui="menu"] ul li ico[support]:after {
	content: '';
	background-image: url('./ico/support.svg');
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	filter: invert(1);
	-webkit-filter: invert(1);
}

/* Modern Dashboard Styles */
.settings-container {
    gap: 24px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

.settings-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.settings-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.settings-section {
    margin-bottom: 32px;
}

.settings-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

/* Pagination Styles */
#articlesPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

#articlesPagination button {
    padding: 10px 15px;
    border: 2px solid var(--border);
    background: var(--bg-2);
    color: var(--text);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--inter);
    transition: all 0.2s ease;
    min-width: 40px;
}

#articlesPagination button:hover {
    background: var(--bg-3);
    transform: translateY(-1px);
}

#articlesPagination button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

#articlesPagination span {
    margin-left: 20px;
    font-size: 14px;
    color: var(--text-color-secondary);
    white-space: nowrap;
}



@media (max-width: 768px) {
    #articlesPagination {
        flex-direction: column;
        gap: 15px;
    }
    
    #articlesPagination span {
        margin-left: 0;
        order: -1;
    }
    
    #articlesPagination button {
        min-width: 50px;
        padding: 12px 18px;
    }
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background-color: var(--bg-3);
    color: var(--text);
    transition: all 0.2s ease;
    box-sizing: border-box;
    border-radius: 30PX;
    font-family: var(--inter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.jwt-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.jwt-input-group input {
    flex: 1;
    margin-bottom: 0;
}

.jwt-info {
    margin-top: 8px;
    padding: 12px;
    background-color: var(--bg-2);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    border-left: solid 3px var(--text-secondary);
}


.btn-success {padding: 8px 15px;border: none;border-radius: 100px;font-size: 12px;cursor: pointer;transition: all 0.2s;font-weight: 600;font-family: var(--inter);border: solid 1px;background: transparent;min-width: fit-content;display: flex;justify-content: center;color: var(--success);align-items: center;}

.btn-danger {padding: 8px 15px;border: none;border-radius: 100px;font-size: 12px;cursor: pointer;transition: all 0.2s;font-weight: 600;font-family: var(--inter);border: solid 1px;background: transparent;min-width: fit-content;display: flex;justify-content: center;color: var(--danger);align-items: center;}


.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.settings-actions {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

/* Form improvements */
form {
    display: contents;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* Profile edit form specific styles */
#editProfileForm {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
}

form input,
form select,
form textarea {
    padding: 10px 15px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: var(--inter);
    border: solid 2px var(--border);
    background: var(--bg-3);
    min-width: fit-content;
    width: -webkit-fill-available;
    }

form select[multiple]{
	border-radius:16px;
}
form select#updateCategorySelect{
	border-radius:16px;
}
form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

form button {
    align-self: flex-start;
    margin-top: 8px;
    padding: 8px 15px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: var(--inter);
    border: solid 1px var(--link-color);
    background: transparent;
    min-width: fit-content;
    color: var(--link-color);
}

	form#createFileForm input{
	display:none;
}

/* Contact styles */
.contacts-header {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.contacts-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contacts-list {
    margin-bottom: 24px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .jwt-input-group {
        flex-direction: column;
    }
    
    .jwt-input-group input {
        margin-bottom: 8px;
    }
    
    .contacts-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 20px;
    }
    
    .contacts-header h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .contacts-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .contacts-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        min-width: auto;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .status-select,
    .contact-actions .btn-danger {
        width: 100%;
        text-align: center;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .search-input {
        padding: 14px 16px 14px 45px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 14px;
        font-size: 18px;
    }
    
    /* Contact Settings responsive fixes */
    .settings-header {
        min-width: auto;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 16px;
    }
    
    .settings-header h2 {
        text-align: center;
        font-size: 20px;
    }
    
    .settings-form {
        max-width: 100%;
        padding: 0 16px;
    }
    
    section[article]#contactSettings .contact-settings {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    section[article] block {
        padding: 16px;
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contacts-header {
        padding: 16px;
    }
    
    .contacts-header h2 {
        font-size: 20px;
    }
    
    .contacts-header h2::before {
        font-size: 24px;
    }
    
    .contacts-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 16px;
    }
    
    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contact-header h3 {
        font-size: 18px;
    }
    
    .contact-detail-item {
        padding: 6px 0;
    }
    
    .contact-detail-icon {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Contact Settings for very small screens */
    .settings-header {
        padding: 12px;
        gap: 12px;
        min-width: fit-content;
    }
    
    .settings-header h2 {
        font-size: 18px;
    }
    
    .settings-form {
        padding: 0 12px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    section[article] block {
        padding: 12px;
    }
}

section[chat] {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	z-index: 10000;
	box-sizing: border-box;
}

section[chat] block {
	display: block;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

section[chat] block[chat-controls] {
	height: 56px;
	border-top: solid 1px var(--border-line);
	background-color: var(--bg-2);
}

section[chat] block[chat-controls] button {
	height: 100%;
	background-position: center;
	margin: 0;
	margin-right: 10px;
}

section[chat] block[chat-controls] logo {
	border-right: 1px solid var(--border-line);
	width: 50px;
	height: 55px;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-image: url('./ico/mcfrancis.svg');
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center;
	transition: all ease 0.1s;
	background-color: var(--bg);
}

section[chat] block[chat-controls] logo:active {
	transform: translate(0px, -4px);
}

section[chat] block[chat-controls] logo:hover {
	background-color: var(--bg);
}


section[chat] input[type="text"] {
    color: var(--text);
    padding: 0;
    width: -webkit-fill-available;
    font-size: clamp(15px, 1.5vw, 20px);
    background: transparent;
    border-color: transparent;
    outline: none;
    box-sizing: border-box;
    padding-left: 67px;
    will-change: blur;
    height: 100%;
    transition: all ease 1s;
    pointer-events: all;
    height: 100%;
    border-top: solid 1px var(--border-line);
    line-height: 1;
    appearance: none;
    border: none;
    padding-bottom: 0px;
}

section[profile],section[article]{
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    animation: fade .3s ease;
    overflow-y: auto;
    max-height: calc(100% - 60px);
    transition: all ease .3s;
    background-color: transparent;
    min-height: 100svh;
    z-index: 1;
    position: relative;
}
section[article] form cover{
	width:100%;
	height:40vh;
	display:block;
	background-color:var(--bg-2);
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	border-radius: 20px;
	border: dashed 2px var(--border);
}
section[article]{
	align-content: flex-start;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

section[profile] h1{
    text-transform:capitalize;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    margin: 0;
}
section[profile] ul{
    display:flex;
    list-style:none;
    padding:0;
    margin:0;
    flex-direction: column;
    min-width: 30vh;
    align-items: center;
    margin-bottom: 20px;
}
section[profile] ul ul{
    display:flex;
    flex-wrap: nowrap;
    width: 100%;
    flex-direction: row;
}
section[profile] ul li{
    width:100%;
    padding: 10px;
}
section[profile] ul li p{
	margin:0;
	background-color:var(--bg-2);
	padding:10px;
	border-radius:16px;
		margin:5px auto;
}
section[profile] ul li p:empty{
	display:none;
}
section[profile] ul li p#profileRole{
	color: var(--primary);
	font-weight:600;
	border: none;
	background: transparent;
	width: fit-content;
	font-size: 15px;
}
section[profile] cover{
    padding:10vh;
    border: solid 3px #e1e1e1;
    border-radius:50%;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    margin: 0 auto;
    display: flex;
    width: fit-content;
    height: fit-content;
}

/* Profile Photo Upload Styles */
#profilePhotoPreview {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: solid 2px #ddd;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

#profilePhotoPreview:hover {
    opacity: 0.8;
    transform: scale(1.02);
    border-color: #007bff;
}

#profilePhotoPreview::after {
    content: 'Clicca per cambiare foto';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

#profilePhotoPreview:hover::after {
    opacity: 1;
}

section[profile] button[round],section[article] button[round]
{background:transparent}
button[round]{
    appearance:none;
    border:none;
    width: clamp(16px, 9vw, 40px);
    height: clamp(16px, 9vw, 40px);
    margin: 5px;
    padding:unset;
    font-weight:600;
    font-family:var(--work-sans);
    font-size: clamp(16px, 3vw, 22px);
    background-color: color(srgb 0.51 0.51 0.51 / 0.3);
    letter-spacing: -2px;
    color: #000;
    transition: all ease 0.1s;
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
    will-change: blur;
    text-transform: uppercase;
    cursor: pointer;
    overflow: visible;
}
button[round][black] [ico]{
}
button[round] [ico]{
    border-radius:50%;
    border: solid 1px var(--border-line);
    background-color: var(--bg-2);
    width: 30px;
    height: 30px;
}
[header] button[round] span{
	font-size:initial;
	background: unset;
	border: unset;
}

button[round] span{font-size: 8px;letter-spacing: -0.4px;font-weight: 600;}
section[header] button[round]{
	border-radius:50%;
}
span[ico]{
    width:100%;
    height:100%;
    display:block;
    background-size: 50%;
    background-repeat:no-repeat;
    background-position:center;
    position: relative;
    vertical-align: middle;
}
[black] span[ico]:after{
	filter:invert(1);
	-webkit-filter:invert(1)
}
span[ico]:after{
	content:'';
    width:100%;
    height:100%;
    display:block;
    background-size: 50%;
    background-repeat:no-repeat;
    background-position:center;
    position: relative;
    vertical-align: middle;
}

[ico="before"] {
    background-image: url(./ico/before.svg);
}
[ico="next"] {
    background-image: url(./ico/next.svg);
}

section[app] block[card] {
    padding: 3vh;
    width: -webkit-fill-available;
}
section[app] block[card] form{
	display:flex;
}
section[app] block[card] form{
	max-width:540px;
	margin: 0 auto;
}
section[app] block[card] form p{
}
section[app] block[card] a {
    color:unset;
}
section[app] [style6] block[card] form input:nth-child(1) {
    margin-top: 0;
}
block label input[type="checkbox"] {
    margin-right: 10px;
}
input[type="checkbox"] {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    margin: 0;
}
section[app] [style6] block[card] form p {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 300;
    line-height: 0.8;
    text-align: left;
    vertical-align: middle;
    letter-spacing: -1px;
    margin: 0;
}

section[app] [style6] block[card] form p a {
    color: unset;
}

block label {
    display: flex;
    line-height: 1;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
    justify-content: flex-start;
    margin-top: 0;
}
#createFileForm label {
		width:100%;
}
#createFilePreview:before {
	content:'';
	width:100%;
	height:100%;
	background-image:url('./ico/upload.svg');
	background-size:50px;
	background-position:center;
	background-repeat:no-repeat;
	position:relative;
	display:block;
	cursor:pointer;
	
}
[article] block label button{
	margin:10px;
}
[article] block label button:first-of-type{
	margin:0px;
	margin-right:10px;
}
[article] block label button:last-of-type{
	margin:0px;
	margin-left:10px;
}
[article] block label button:only-of-type{
	margin:0;
}
block label input, block label button{
    width:-webkit-fill-available;
}
block label a {
    color:unset;
}


section[app] {
    position: relative;
    width: 100%;
    display: flex;
    min-height: 100%;
    height: 100vh;
    flex-direction: row;
    flex-wrap: nowrap;
    opacity: 1;
}

section[main] section[app] {
    scroll-snap-align: end;
    overflow: hidden;
    overflow-x: hidden;
}


section[main] section[app] h1{
	font-size: clamp(24px, 6vw, 60px);
	letter-spacing: -1.3px;
	margin: 1em 0;
	margin-top: 0;
}

section[main] section[app="presentation"] section form input[type="button"]{
	width:100%;
}

section[app] section[right] cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    white-space: nowrap;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: optimizequality;
    transition: all ease 1s;
    min-height: 100vh;
}

section[main] section[app] gradient{
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    background: linear-gradient(360deg, #000000, transparent);
    height: 66vh;
    scroll-behavior: smooth;
    user-select: none;
    pointer-events: none;
    max-width: 50%;
}
section[main] section[app][layout="list"] gradient{
	width:100%;
	max-width: 100%;
	height: 20vh;
	z-index: 2;
}

section[black] {
    background-color: #000000;
    color: #fff;
}


section[app] [black] block[head][scroll-y][article] {
    background-color: #000000;
    padding: 20px;
}
section[app] block[head][scroll-y][article] {
    padding: 20px;
    padding-top: 80px;
    padding-bottom: 40px;
    z-index: 1;
    letter-spacing: -0.5px;
}
section[app] block[head][scroll-y] {
    z-index: 0;
}
section[app] block[head][scroll-y] {
    display: inline-block;
    overflow: hidden;
    overflow-y: scroll;
}

section[left], section[right] {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
}

section[left]{
	animation:fade 2s ease;
}
#login input[type="button"], #login input[type="submit"]  {
    width: 100%;
    padding: 15px;
    font-weight: 700;
    font-size: clamp(12px, 1vw, 14px);
    text-transform: uppercase;
    padding: 10px 15px;
    border: solid 1px var(--link-color);
    color: var(--link-color);
    border-radius: 50px;
}

.error {
    border-color:#f03 !important;
    animation:fade 0.1s ease infinite alternate, move 0.1s ease alternate infinite;
}

	
.success {
    animation: fade 0.3s ease infinite alternate;
}

section[app] block[section="title"] {
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	text-align: center;
	z-index: 1;
	pointer-events: none;
}

section[app] block[section="title"] h4{
	font-size:20px;
	display:block;
	width:100%;
	font-size: clamp(66px, 8vh, 120px);
	bottom: 0;
	margin: 0;
	z-index: 1;
	font-weight: 600;
	background-image: linear-gradient(to left, #ffffff, #b7b7b7);
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-style: italic;
	padding-top: 1vw;
	animation: scrollText 10s linear infinite;
}
section[app="articles"]{
	display:flex;
	flex-direction:column;
	overflow: hidden;
	align-content: flex-end;
	align-items: flex-end;
}
section[app="articles"][white] cover[hoverCover]{
	opacity:0.1
}
section[app="articles"] cover[hoverCover]{
	position:absolute;
	width:100%;
	height:100%;
	background-image: var(--cover);
	background-size: cover;
	background-position: center;
	z-index: 0;
	opacity: 0.35;
	filter: blur(8px);
	-webkit-filter: blur(8px);
	transition: background 0.5s ease-in-out;
	-webkit-transition: background 0.5s ease-in-out;
	pointer-events: none;
	will-change: blur, background;
}

section[article] form button:only-of-type{
	width:100%;
}

textarea{
	font-family: var(--inter);
	letter-spacing: 0;
}

[article] textarea{
	min-height: 36vh;
	background-color:var(--bg-2);
	border-radius: 20px;
}


[article] textarea:nth-of-type(2){
	min-height:80px;
}
[article] input[type="text"]{
	    border: 2px solid var(--border);
	    background: var(--bg-2);
	    color: var(--text-primary);
	    transition: all 0.2s;
	    width: -webkit-fill-available;
	    background: var(--bg-3, #f8f9fa);
	    outline: none;
}
.search-container{
    margin-bottom:20px;
}
.search-container input{
    padding: 10px 15px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: var(--inter);
    border: solid 2px var(--border);
    background: var(--bg-3);
    min-width: fit-content;
    width: -webkit-fill-available;
}
[article] input[type="text"]#createArticleCoverImageId{
	display:none;
}

[article] textarea[min]{
	min-height: 80px;
}

[black] input[type="button"], [black] input[type="submit"], [black] input[type="email"], [black] input[type="text"], [black] input[type="number"], [black] input[type="password"], [black] input[type="email"]{
    color:#fff;
  
}

span[ico] {
    width: 100%;
    height: 100%;
    display: block;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    vertical-align: middle;
}

[ico="email"] {
    background-image: url('./ico/email.svg');
}

[ico="email"]:after{
    background-image:url('./ico/email.svg')
}
[ico="login"]:after{
    background-image:url('./ico/login.svg');
}
[ico="logout"]:after{
    background-image:url('./ico/logout.svg');
}
[ico="back"]:after{
    background-image:url('./ico/back.svg');
}
[ico="edit"]:after{
    background-image:url('./ico/edit.svg');
}
[ico="delete"]:after{
    background-image:url('./ico/delete.svg');
}
[ico="show"]:after{
    background-image:url('./ico/show.svg');
}
[ico="link"]:after {
    background-image: url(./ico/link.svg);
}
#login scroller-text-container{
    left:0;
    right:unset;
}
section[right] scroller-text-container{
    right:unset;
    left:0;
}
scroller-text-container {
    position: absolute;
    bottom:0;
    overflow: hidden;
    width: 50%;
    right: 0;
    height: 33vh;
    z-index: 1;
}
scroller-text {
     display: flex;
     height: -webkit-fill-available;
     width: max-content;
     animation: scrollText 10s linear infinite;
}
scroller-text h2[move]{
     display: inline-block;
     white-space: nowrap;
     position: absolute;
     font-size: clamp(66px, 10vw, 120px);
     bottom: 0;
     margin: 0;
     z-index: 1;
     font-weight: 400;
     letter-spacing: -0.6vw;
     animation: hidden 10s linear infinite;
     background-image: linear-gradient(to left, #ffffff, #ffffff);
     -webkit-text-fill-color: transparent;
     background-clip: text;
     font-style: italic;
     padding-top: 1vw;
     padding-right: 20px;
     line-height: 1;
}

scroller-text h2[move] i {
        background-image: linear-gradient(to right, #ff006f, #00ffc6);
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-family: var(--whisper);
        padding-right: 1vw;
        font-weight: 500;
}
scroller-text h2[move].fade{
         animation: scrollText 10s linear infinite;

}
[scroll-anim="fade"].fade{
        animation: fadeIn 0.3s ease;
        opacity: 1;
}

section[profile] input[type="text"], section[profile] input[type="password"], section[profile] input[type="email"]{
	background-color:var(--bg-2)
}

input[type][disabled]{
	cursor:not-allowed;
	opacity:0.33;
}

section[app] block[footer] {
    padding: 0 3vh;
    z-index: 1;
}
section[app]#home block[footer]{
}

section[app]#login block[footer] h3{
   
background-image: linear-gradient(to right, #b4b4b4, #000000);
}
section[app][sami] block[footer] h3{
        background-image: linear-gradient(to right, #222222, #424242);

}
section[app] block[footer] h3{
    margin:0;
    font-size: clamp(18.5px, 4vw, 60px);
    letter-spacing: -0.35vw;
    background-image: linear-gradient(to right, #222222, #000000);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-transform: lowercase;
    font-family: serif;
    padding: 10px;
}
section[app] block[footer] b{
   color: var(--link-color);
   font-size: clamp(20px, 3vw, 40px);
   letter-spacing: 0;
   font-family: var(--whisper);
}

section[app] section[article]{
	display:flex;
	justify-content: flex-end;
	flex-direction: row;
	margin: 0;
	padding: 0;
	max-width: 100%;
	align-items: center;
	max-height: 100%;
}
section[app][layout="list"] section[article]{
	display: flex;
	height: fit-content;
	height: 100%;
	overflow: hidden;
	padding: 0;
}
section[app] section[article] gradient{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 22VW;
	background: linear-gradient(90deg, #000000, color(srgb 0 0 0 / 0));
	height: 100%;
	scroll-behavior: smooth;
	user-select: none;
	pointer-events: none;
	z-index: 1;
	will-change: blur;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

section[app] section[article] ul{
	list-style:none;
	max-width: 78vw;
	width: 100%;
	overflow: hidden;
	overflow-x: auto;
	display: flex;
	margin: 0;
	padding: 0;
	flex-direction: row;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}
section[app] section[article] ul:after{
	content:'';
	position: absolute;
	width: 100px;
	height: -webkit-fill-available;
	background: linear-gradient(90deg, #0a0a0a, transparent);
	bottom:0;
	z-index: 10;
	top: 0;
	height: 100%;
	display: block;
}

section[app] section[article="related"] ul{
}

section[app][layout="list"] section[article] ul:after{
	display:none;
}
section[app][layout="list"] section[article] ul{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	height: 100svh;
	max-height: 100svh;
	overflow-y: auto;
	align-content: flex-start;
	position: absolute;
	top: 0;
	bottom: 0;
	justify-content: center;
	scroll-snap-type: y mandatory;
	box-sizing: border-box;
	padding-top: calc(10svh - 20px);
	padding-bottom: 5vh;
}
section[app][layout="list"] section[article] ul li{margin: 20px;max-width: fit-content;}
section[app] section[article="category"] ul:after{
	background:unset;
	display:none;
}

section[app] section[article] ul li{
	/* max-width: 480px; */
	/* min-width: 50vw; */
	min-height: 40vh;
	box-sizing:border-box;
	margin: 0 13px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	z-index: 2;
	background-color: rgb(143 143 143 / 33%);
	backdrop-filter: blur(11px);
	-webkit-backdrop-filter: blur(11px);
	will-change: blur;
	scroll-snap-align: center;
}
section[app][layout="list"] section[article] ul li{
	width:100%;
}
section[app] section[article] ul li contains{
	display:flex;
	flex-direction: column;
	padding: 20px;
	white-space: normal;
	width: -webkit-fill-available;
	width: 100%;
	min-width: 20vw;
	max-width: 380px;
}
section[app] section[article="category"] ul li contains{
	max-width:-webkit-fill-available;
}
section[app] section[article] ul li contains p{
	max-width: 280px;
}
section[app] section[article] ul li contains h3{
	margin-top:0;
	font-size: clamp(16px, 3vh, 44px);
	user-select: none;
	letter-spacing: -1px;
	min-width: 200px;
}
section[app] section[article="category"] ul li contains h3{
	/* color:var(--bg); */
	/* text-shadow: 0px 0px 30px #000; */
	font-size: 5vh;
	margin-bottom: 20px;
}
section[app] section[article="category"] ul li contains a{
	color: var(--link-color);
	/* text-shadow: 0px 0px 30px #000; */
}
section[app] section[article] ul li cover{
	width: fit-content;
	height: 100%;
	min-width: 20vh;
	position:relative;
	background-size:cover;
	background-position:center;
	z-index: 1;
	min-height: 20vh;
}
section[app] section[article] ul li span:first-of-type{
	font-size:12px;
	line-height:1;
	user-select: none;
}
section[app] section[article] ul li:first-of-type{
}
section[app] section[article]  ul li data {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
    max-height: 55px;
    user-select: none;
}


section[profile], section[article] {
    display:none;
}
section[profile].active, section[article].active {
    display: flex;
}
 section[article].active{
	 display: flex;
	 flex-direction: row-reverse;
	 justify-content: center;
	 box-sizing: border-box;
	}

section[article]#contactSettings .contact-settings{width: 100%;max-width: 420px;}
section[article] block{
	width: 100%;
	max-width: 1144px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 24px;
	margin: 0 auto;
	max-height: calc(100svh - 120px);
	background-color: transparent;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	margin-bottom: 16px;
	overflow-y: auto;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
}
section[article] block form{
	display:flex;
}
section[article] block[split]{
	/* display:none; */
}
section[article] block[split] cover{
	width:100%;
	min-height: 40vh;
	background-size:cover;
	background-position:center;
}
section[article] block[split].active{
	display:flex;
	min-width: 50%;
	height: 100%;
	overflow-y: auto;
	padding: 10px;
}
section[article] block[split]:nth-of-type(1).active{
	max-width: fit-content;
	padding: 20px;
	width: fit-content;
	max-width: 1130px;
	width: 100%;
}
section[article] block ul{
	padding:0;
	margin:0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-evenly;
	list-style: none;
}
section[article] block ul .article span{
	font-size:12px;
	color:var(--link-color);
	line-height:1;
}
section[article] block#articleContainer ul li{
	padding:initial;
	border:initial;
	min-width:initial;
	width: initial;
	max-width:initial;
	border-radius: unset;
	text-align: unset;
	display: inline;
	flex-wrap: initial;
	justify-content: initial;
	align-content: initial;
	flex-direction: row;
}

section[article] block#articleContainer ul{
	padding:initial;
	border:initial;
	margin:initial;
	min-width:initial;
	width: initial;
	max-width:initial;
	border-radius: unset;
	text-align: unset;
	display: initial;
	flex-direction: initial;
	flex-wrap: initial;
	justify-content: initial;
	align-content: initial;
}


section[article] block ul li{
	padding:10px;
	border: solid 1px var(--border-line);
	margin: 10px;
	width: 100%;
	max-width: 280px;
	border-radius: 8px;
	text-align: right;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-content: space-between;
	max-width: 320px;
}
section[article] block ul li span{
	width:100%;
}

section[article] block ul[list="files"] li{display: flex;flex-direction: row;align-items: flex-start;}
section[article] block ul[list="files"] li input{
	display:none;
}
section[article] block ul[list] li cover{
	height:150px;
	background-repeat:no-repeat;
	background-position:center;
	width: 100%;
	background-color: var(--bg-2);
	margin-bottom: 10px;
	background-size: cover;
	border-radius: 8px;
	min-height: 180px;
	margin-bottom: 0;
}
section[article] block ul li img{
	width:100%;
	max-height: 150px;
	width: fit-content;
	margin: 0 auto;
}
section[article] block ul[list="files"] li h2{
	font-size: 15px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	margin-bottom: 0;
	margin-top: 5px;
}

section[article] block ul[list="files"] li p{
	font-size:12px;
	color:#3258ff;
	font-weight:500;
	margin-top: 0;
	display: block;
	text-overflow: e;
}

section[article] block ul li data{
	 display: -webkit-box;
	 max-width: 100%;
	 -webkit-line-clamp: 1;
	 -webkit-box-orient: vertical;
	 overflow:hidden;
	 text-align: left;
	 width: 100%;
	 max-height: 63px;
}

section[article] block ul li data *{
	font-size:15px;
	font-weight:500;
	
}

section[article] block ul li p{
	 display: -webkit-box;
	 max-width: 100%;
	 -webkit-line-clamp: 3;
	 -webkit-box-orient: vertical;
	 overflow:hidden;
	 text-align: left;
	 width: 100%;
	 line-height: 1.2;
	 font-size: 13px;
	 overflow: hidden;
	 display: none;
}
section[article] block ul li p span{
	font-size:unset;
}

section[article] block ul li h3{
	margin:0;
	text-align: left;
	width: 100%;
	display: -webkit-box;
	max-width: 100%;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: left;
	width: 100%;
	line-height: 1.1;
	font-size: 16px;
	margin-bottom: 10px;
	margin-top: 10px;
}


tools{
    display:block;
    width:100%;
    text-align:center;
    border-radius: 8px;
}


section[app="presentation"] section[left]{
	font-size: clamp(24px, 7vw, 110px);
	font-weight: 300;
	letter-spacing: -0.35vw;
	margin: 20px 0;
	/* line-height: 1; */
	max-width: 800px;
	line-height: 1;
	font-weight:800;
	text-align: center;
}

section[app="presentation"] section[left] h1{
	font-size: clamp(60px, 12vh, 120px);
	font-weight: 300;
	letter-spacing: -0.35vw;
	margin: 20px 0;
	/* line-height: 1; */
	max-width: 800px;
	line-height: 1;
	font-weight:800;
	width: 100%;
	max-width: 100%;
}

section[app="presentation"] section[left] h1 i, section[app="presentation"] section[left] h2 i{
	font-family:var(--whisper);
	letter-spacing: 1vw;
}

section[app="presentation"] section[left] h2{
	font-size: clamp(24px, 6vw, 90px);
	font-weight: 300;
	letter-spacing: -0.35vw;
	margin: 20px 0;
	/* line-height: 1; */
	max-width: 800px;
	line-height: 1;
	font-weight:800;
	width: 100%;
	max-width: 100%;
}

section[app="presentation"] section[left] span{
	margin: 0;
	font-size: clamp(25.5px, 4vw, 60px);
	letter-spacing: 0;
	background-image: linear-gradient(to right, #ff006f, #00ffc6);
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 900;
	font-family: var(--whisper);
	padding-left: 0.5vw;
	padding-right: 0.5vw;
	line-height: 1.5;
	letter-spacing: -1px;
}


section[app="presentation"] section[right]{
	text-align:center;
	
}

section[app="presentation"] section[article="category"]{
	display:flex;
	flex-direction: column;
	white-space: normal;
	flex-wrap: nowrap;
	width: 100%;
	min-width: 50%;
}

section[app="presentation"] section[article="category"][left]{
	display:flex;
	justify-content: center;
}
section[app="presentation"] section[article="category"][left] h2{
	padding-top: 10vh;
	padding-bottom: 60px;
}
section[app="presentation"] section[article="category"] ul{
	display:flex;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	max-width: 100%;
	height: calc(100% - 80px);
}
section[app="presentation"] section[article="category"] ul li{
	margin:0;
	display: flex;
	flex-direction: column;
	border: solid 1px color(srgb 0.47 0.47 0.47 / 0.1);
	padding-top: 40px;
	border-bottom: none;
	min-height: fit-content;
	background: transparent;
}
   section[app] section[article="category"] ul li {
        border: solid 1px var(--border-line);
        background: radial-gradient(#c4c4c4, transparent);
        border-radius: 6px;
        box-shadow: 0px 20px 18px hsl(0deg 0% 0% / 10%);
        border-top: solid 2px var(--bg);
        z-index: 1;
        margin: 20px;
        padding-top: 0;
        overflow: hidden;
        min-height: 200px;
    }
section[app] section[article="category"] ul li cover{
	width:100%;
	position: relative;
	z-index: -1;
	margin-bottom: 0;
	height: 100%;
	width: 100%;
	display: flex;
	display: none;
}
section[app="presentation"] section[right] p{
	font-size: clamp(18px, 4vw, 80px);
	letter-spacing: -0.25vw;
	margin: 1em auto;
}

[progress-bar]{
    width: -webkit-fill-available;
    height: 5px;
    background-color: rgb(255 255 255 / 13%);
    position: absolute;
    bottom: 0;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    z-index: 1;
}
[page-navigation]{
   backdrop-filter:blur(10px);
   -webkit-backdrop-filter:blur(10px);
   background-color: rgba(255, 255, 255, 0.11) !important;
}
[progress-bar] [progress-traker]{
    width: -webkit-fill-available;
    height: 100%;
    width: 10px;
    background-color:#00ffc6;
    display: block;
    background: linear-gradient(to right, transparent, #00ffc6);
    transition: all ease 1s;
    border-radius: 3px;
}
[navigation-container] {
   position: relative;
   bottom: 3vh;
   display: flex;
   width: -webkit-fill-available;
   text-align: center;
   justify-content: space-between;
   padding: 0 3vh;
   z-index: 10;
   max-width: 70vw;
   position: absolute;
}

[navigation-container][full-width]{
	max-width:100%;
}

[navigation-container] button[round]{
	border-radius:50%;
	overflow:hidden;
	border: none;
}

[navigation-container] span[ico]{
   background-size:33%;
   background-color: transparent;
   border: none;
}

ico[lang]{
    background-size:contain;
    background-repeat:no-repeat;
}
ico[lang="it"]{
    background-image:url('./ico/flags/italy.svg')
}
ico[lang="en"]{
    background-image:url('./ico/flags/usa.svg')
}
ico[lang="es"]{
    background-image:url('./ico/flags/es.svg')
}


section[app] block[head][scroll-y]{
    display: inline-block;
    overflow: hidden;
    overflow-y: auto;
}

section[app] block[head][scroll-y]{
    
z-index: 0;
}
section[app] block[head][scroll-y][article]{
    padding-top:80px;
    padding-bottom: 40px;
    z-index: 1;
}

section[app] [white] block[head][scroll-y][article] a:first-child{
	margin:20px 0;
	display: block;
	margin-top: 0;
	color: var(--link-color);
}
section[app] [white] block[head][scroll-y][article]{
    background-color:#f5f5f7;
}

section[app] [white] block[head][scroll-y][article] marker{
	top: calc(100vh + 50px);
}
section[app] [black] block[head][scroll-y][article]{
    background-color:#000000;
}
section[app] block[head][scroll-y][article] h2{
    color:unset;
    line-height: 1;
    letter-spacing: -0.5px;
}
section[app] block[head][scroll-y][article] p{
    color:unset;
    background-image: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    animation: unset;
    font-size: unset;
    letter-spacing: unset;
    margin: unset;
    letter-spacing: -0.7px;
}

/* width */
section[app] block[head][scroll-y]::-webkit-scrollbar {
    width:2px;
  }
  
  /* Track */
  section[app] block[head][scroll-y]::-webkit-scrollbar-track {
    background: #000;
  }
  
  /* Handle */
  section[app] block[head][scroll-y]::-webkit-scrollbar-thumb {
    background: #fff;
  }
  
  /* Handle on hover */
  section[app] block[head][scroll-y]::-webkit-scrollbar-thumb:hover {
    background: #000;
  }
section[app] block[head][scroll-y].typing p{
    animation: typing 2s ease-in;
}
section[app] block[head][scroll-y].typing p:nth-child(1){
    margin-bottom:5vh;
    padding: 20px;
}
section[app] block[head][scroll-y][article].typing p:nth-child(2){
    background-image:unset;
}

section[app] block[head][scroll-y] p{
    font-size: clamp(18px, 3vw, 50px);
    font-weight: 400;
    letter-spacing: -0.2vw;
    margin: 0;
    line-height: 1.3;
    margin-top: 15vh;
    margin-bottom: 15vh;
    background-image: linear-gradient(to left, #252525, #4f4f4f);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* background-position: 100% 0; */
    animation: hidden 1s ease infinite;
    overflow: hidden;
    /* font-family: serif; */
}
section[right][style7]{
  
}
section[right][style7] block{
    display:flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: flex-start;
}
section[right][style7] block p{
    font-size:10px;
    font-weight:400;
    padding:2vw;
    letter-spacing: -0.3px;
}
section[right][style7] block p a {
    color:unset;
}
section[right][style7] ul{
    list-style:none;
    margin-bottom:3vw;
    font-size: clamp(13px, 3vw, 22px);
    margin: 0;
    padding: 0 3vw;
    padding-bottom: clamp(16px, 2vw, 26px);
    width: -webkit-fill-available;
    text-align: right;
    border-bottom: solid 1px color(srgb 0.52 0.52 0.52 / 0.13);
    padding-top: 3vw;
}
section[right][style7] ul:nth-child(1){
}
section[right][style7] ul b{
    margin-bottom: clamp(14px, 1.5vw, 18px);
    display:block;
    font-size: clamp(12px, 2vw, 20px);
    line-height: 1;
}
section[right][style7] ul a{font-size: clamp(16px, 1vw, 26px);line-height: 1.66;color: unset;}
section[right][style7] ul span{
    margin-top: 1vw;
    display:block;
    font-size: clamp(12px, 2vw, 20px);
}

section[app] section[style7] block[head][scroll-y] [text-slider] p{
	animation: hidden 1s ease-out;
	display: none;
}
section[app] section[style7] block[head][scroll-y] [text-slider] p.active{
	display:block;
	animation: fade 1s ease;
}
section[app] section[style7] block[head][scroll-y] p{
    font-size: clamp(12px, 2vw, 20px);
    letter-spacing: 0;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    margin-top: 15vh;
    margin-bottom: 15vh;
    /* animation: fade 1s ease; */
    white-space: nowrap;
}
cookie {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 10000;
    background-color: rgb(130 130 130 / 80%);
    padding: 1vw;
    display: flex;
    backdrop-filter: saturate(177%) blur(13px);
    -webkit-backdrop-filter: saturate(177%) blur(13px);
    border-radius: 0;
    max-width: calc(100% - 40px);
    animation: fade 1s ease;
    color: var(--bg);
}

cookie[default] {
    display: none;
}

cookie h4 {
    margin: 0;
    padding: var(--medium-padding) 0;
    padding-bottom: 0;
    padding-top: 0;
}

cookie p {
    font-size: 11px;
    max-width: 800px;
    padding: 5px;
    margin: 0;
    font-weight: 400;
}

cookie p a {
    color: var(--text-color)
}

cookie box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

cookie button {
    margin: 10px;
    padding: 8px 12px;
    transition: all ease .44s;
    border-radius: 4px;
    color: var(--bg);
}

cookie button[cookie="deny"] {
    background: transparent;
    border-color: transparent;
}

cookie button[cookie="accept"] {
    background: var(--link-color);
    border-color: var(--link-color);
}

cookie button[cookie="accept"]:hover {
    background: var(--button-bg-color);
    border-color: var(--button-bg-color);
}

cookie button[cookie="accept"] span {
    color: #fff
}

cookie button:hover {
    background-color: transparent;
}

cookie button span {
    font-weight: 500;
}
@media screen and (max-width: 600px) {
	section[article] block {
	    max-height: calc(100svh - 55px);
	    border: none;
	    box-shadow: unset;
	}
	section[app] section[right] cover{
		display:none;
	}
    block[text-slider] {
        position: absolute;
        bottom: 18px;
        left: 0;
        right: 0;
        height: fit-content;
        bottom: 0;
        min-height: fit-content;
    }
	section[app] section[style7] block[head][scroll-y] [text-slider] p.active{
		margin:20px;
	}
	section[main] section[app] h1{
		font-size:2.25em;
		line-height: 1;
	}
	section[app] section[article] ul li contains{
	max-width:-webkit-fill-available;
	width: 70vw;
}
	
	section[main] section[app][article-page]{
	
display: flex;
	
flex-direction: column;
	
display: block;
	
height: fit-content;
	
overflow-y: auto;
	
max-height: 100vh;
}

section[main] section[app][article-page] section[right] cover{
	display:block;
	height: 100%;
	width:100%;
	min-height: 480px;
}
	
	section[main] section[app][article-page] section[right]{
	display: block;
	position: relative;
	}
	section[main] section[app][article-page] section[right] gradient{
		max-width:100%;
		max-height:30%;
	}
	section[app] block[head][scroll-y][article]{
		padding-top:20px;
		padding-bottom: 10vh;
	}
	section[main] section[app][article-page] section{
		width:100%;
		display: block;
		position: relative;
	}
	section[app] section[article] ul li data p{
	font-size:12px;
}

	section[app] section[article] ul:after{
		display:none;
	}
section[app="presentation"] section[left] h1{
	font-size: clamp(50px, 4vh, 120px);
}
	section[app="presentation"] section[right] p {
    font-size: clamp(28px, 4vw, 50px);
    letter-spacing: -1px;
}
	 section[app="presentation"] section[left] h2{
	font-size: clamp(30px, 4vh, 120px);
}
section[main] section[app="presentation"]{
	
display: flex;
	
flex-direction: column;
	
align-items: center;
	
justify-content: center;
	
height: 100vh;
}

section[app="presentation"] section[article="category"]{
	max-height:fit-content;
}
	
section[main] section[app="presentation"] section{
	max-width:100%;
	min-width:100%;
	margin: 0;
	padding-bottom: 0;
	padding-top:40px;
}

	section[main] section[app="presentation"] section[article]{
		padding-top: unset;
		height: fit-content;
		max-height: -webkit-fill-available;
		/* height: 100%; */
		display: flex;
	}
section[main] section[app="presentation"] section block{
	margin:0;
	padding:0;
	margin-top: 10vh;
}

	section[main] section[app="presentation"] section block[card]{
		padding:5vh;
		padding-top: unset;
		margin-top: 0;
	}
section[app="articles"] cover[hoverCover]{
	/* display:none; */
}
	
section[app] section[article] gradient{
	left:0;
	right:0;
	width:100%;
	z-index:2;
	height:40px;
	max-width: 100%;
}
	section[app] block[section="title"]{
		z-index:10;
		top: unset;
		bottom: 0;
		backdrop-filter: none;
		height: 40px;
		z-index: 4;
		max-height: fit-content;
	}
	section[app] block[section="title"] h4{
		font-size: 20px;
		margin: 5px 0;
		line-height: 1;
		letter-spacing: -2px;
	}
[navigation-container]{
	bottom:1px;
	display: none;
}
section[app] section[article] ul li{
	min-width:80vw;
	margin-left: 0;
	margin: 3px 0;
	/* backdrop-filter: unset; */
	/* background-color: transparent; */
	min-height: 40vw;
} 
	    section[app] section[article="category"] ul li {
        min-width: 80vw;
        margin-left: 0;
        margin: 3px 0;
        /* backdrop-filter: unset; */
        /* background-color: transparent; */
        min-height: 40vw;
        border: solid 1px var(--border-line);
        background: radial-gradient(#c4c4c4, transparent);
        border-radius: 6px;
        box-shadow: 0px 20px 18px hsl(0deg 0% 0% / 10%);
        border-top: solid 2px var(--bg);
        z-index: 1;
        margin-top: 20px;
        min-height: 250px;
    }
	section[app][layout="list"] section[article] ul li{
		margin:0;
		margin-bottom:10px;
	}
	section[app] section[article] ul li contains h3 {
    margin-top: 0;
    font-size: clamp(22px, 2vw, 44px);
}

		section[app] section[article="category"] ul li contains h3 {
    margin-top: 0;
    font-size: clamp(33px, 2vw, 44px);
}
	section[app] section[article] ul{
		box-sizing: border-box;
		display:flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: flex-start;
		height: 100svh;
		overflow: hidden;
		overflow-y: auto;
		max-width: 100%;
		max-height: 100%;
		scroll-snap-type: y mandatory;
		justify-content: center;
		padding-top: calc(10svh - 20px);
		padding-bottom: 5vh;
	}
	section[app="presentation"] section[article="category"] ul{
	display: flex;
	justify-content: center;
	max-height: 100%;
	padding-bottom: 10vh;
	background-color: var(--bg);
	border-top-left-radius: 1%;
	border-top-right-radius: 0;
	border-top: solid 1px var(--border-line);
	}
section[app]#login  section[right]{
        width: 100%;
        height: 100%;
        position: absolute;
    }

       section[app]#login  section[left]{
        width:100%;
        z-index: 1;
        background-color: var(--bg);
    }

    section[app]#login scroller-text-container{
        width:100%;
    }

	section[article].active{
		display: block;
		text-align: center;
		padding: 0;
	}

	section[article] block[split].active{
		width:100%;
		margin:0 auto;
		border: none;
		max-height: calc(100svh - 60px);
	}

	section[article] block[split]:nth-of-type(1).active{
		max-width:100%;
		text-align:left;
		border: none;
		overflow-x: hidden;
	}

	section[app] section[article]{
	}
    
}

/* Contact Management Styles - Modern Design */
.contacts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 16px;
}

/* Promoter Contacts Specific Styles */
.custom-contacts-section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-2);
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* Contact Links Styles */
.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px 4px;
}

.contact-link:hover {
    color: #1d4ed8;
    background-color: rgba(59, 130, 246, 0.1);
    text-decoration: underline;
}

.contact-link:active {
    transform: translateY(1px);
}

/* Status Badge Animation */
.status-badge {
    transition: all 0.3s ease;
}

.status-badge.status-new {
    background-color: #ef4444;
    color: white;
}

.status-badge.status-contacted {
    background-color: #f59e0b;
    color: white;
}

.status-badge.status-closed {
    background-color: #10b981;
    color: white;
}

.custom-contacts-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.received-contacts-section {
    margin-bottom: 32px;
}

.received-contacts-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.contact-card .contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.contact-card .contact-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-new {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.status-badge.status-contacted {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #f57c00;
}

.status-badge.status-closed {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #388e3c;
}

.contact-card .contact-details {
    display: block;
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.contact-card .contact-details p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text);
}

.contact-card .contact-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 20px 0;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-2);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.no-contacts {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
    background: var(--bg-2);
    border-radius: 12px;
    border: 2px dashed var(--border);
    font-size: 14px;
}

.contacts-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacts-header h2::before {
    content: "";
    font-size: 32px;
}

.contacts-filters {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
.contacts-filters select{
	padding: 8px 15px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: var(--inter);
    border: solid 1px var(--border);
    background: transparent;
    min-width: fit-content;
    display: flex;
    justify-content: center;
}
.contacts-filters select:focus {
    outline: none;
}

.contacts-filters select option {
    background: var(--bg-2);
    color: var(--text);
}

.contacts-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}


.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts-list {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-header h3::before {
    font-size: 18px;
}

.contact-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-status::before {
    font-size: 8px;
}

.status-new {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    border: 1px solid #90caf9;
}

.status-contacted {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.status-closed {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #388e3c;
    border: 1px solid #81c784;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-3);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.contact-detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-detail-icon.email {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.contact-detail-icon.phone {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #388e3c;
}

.contact-detail-icon.time {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #f57c00;
}

.contact-detail-icon.message {
}

.contact-detail-icon.date {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    color: #c2185b;
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

.contact-detail-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    word-break: break-word;
}

.contact-message {
    grid-column: 1 / -1;
    padding: 16px;
    background: var(--bg);
    border-radius: 8px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.status-select {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--bg-2);
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.contact-actions .btn-danger {
    background: transparent;
    color: var(--danger);
    border: none;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: solid 1px;
    border-radius: 50px;
}



.btn-secondary {
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    color: var(--text);
    border: 2px solid var(--border);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--primary);
	color:var(--primary);
}



.btn-primary:hover {
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20p;
    padding: 0;
    background: transparent;
    border-radius: 16px;
}

.page-info {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 12px;
    border: solid 1px var(--border);
}

.no-contacts {
    text-align: center;
    color: var(--text-secondary);
    padding: 60px 40px;
    background: var(--bg-2);
    border-radius: 16px;
    border: 2px dashed var(--border);
    font-size: 15px;
}

.no-contacts::before {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.contacts-search {
    margin-bottom: 24px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--bg-2);
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

.contact-priority {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.priority-high {
    background: #f44336;
    animation: pulse 2s infinite;
}

.priority-medium {
    background: #ff9800;
}

.priority-low {
    background: #4caf50;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes fade {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Contact Settings Styles */
.settings-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.settings-form {
    max-width: -webkit-fill-available;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    border: 2px solid var(--border);
    background: var(--bg-2);
    color: var(--text-primary);
    transition: all 0.2s;
    width: -webkit-fill-available;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Search container styles */
.search-container {
    position: relative;
    width: 100%;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow);
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: var(--bg-2);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item.selected {
    background-color: var(--primary);
    color: white;
}

.search-result-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.search-result-email {
    font-size: 14px;
    color: var(--text-secondary);
}

.search-result-item.selected .search-result-name,
.search-result-item.selected .search-result-email {
    color: white;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.search-loading {
    padding: 16px;
    text-align: center;
    color: var(--text-secondary);
}

.search-create-new {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-2);
    color: var(--primary);
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.search-create-new:hover {
    background-color: var(--primary);
    color: white;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background-color: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--border);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 20px;
}

.pagination .btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .btn:hover:not(.active) {
    background-color: var(--bg-2);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-info {
    text-align: center;
    margin: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== COMPANY SETTINGS STYLES ===== */
.settings-section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-2);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.settings-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg-3);
    color: var(--text);
    font-size: 14px;
    font-family: var(--inter);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.file-input-container {
    position: relative;
}

.file-input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.file-input + label,
.file-input-container::before {
    display: inline-block;
    padding: 12px 20px;
    background: var(--bg-3);
    border: 2px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: var(--text-secondary);
}

.file-input-container::before {
}

.file-input:focus + label,
.file-input-container:hover::before {
    border-color: var(--primary);
    background: var(--bg);
}

.file-preview {
    margin-top: 12px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.signature-display {
    max-width: 200px;
    max-height: 100px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px;
    background: white;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.settings-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: right;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .settings-section {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .settings-actions {
        text-align: center;
    }
}

/* ===== STILI DASHBOARD CLIENTE PULITA ===== */

/* Header economico */


.economic-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.economic-header .header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}



.economic-header .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}





/* Dashboard pulita */
.client-dashboard-clean {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sezioni dashboard */
.dashboard-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.dashboard-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

/* Sezione prioritaria (installazione) */
.priority-section {
    background: linear-gradient(45deg, #ffe433, #ff5d9b, #f94aff, #30e0b6);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    animation: gradient 10s ease infinite;
    background-size: 400% 400%;
}

.priority-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.priority-section .section-header-clean h3 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.priority-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Sezioni secondarie */
.secondary-section {
    background: white;
}

/* Header sezioni */
.section-header-clean {
    margin-bottom: 24px;
    text-align: center;
}

.section-header-clean h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Stato installazione */
.installation-status {
    position: relative;
    z-index: 1;
}

.onboarding-card-large {
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.onboarding-card-large:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.02);
}

.onboarding-header-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.onboarding-header-large h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.status-badge-large {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
}

.progress-container-large {
    margin-bottom: 16px;
}

.progress-bar-large {
    background: rgba(255,255,255,0.2);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill-large {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.progress-text-large {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.onboarding-cta {
    text-align: center;
    margin-top: 16px;
}

.onboarding-cta p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Stato vuoto installazione */
.no-onboarding {
    text-align: center;
    padding: 40px 20px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-state ico {
    font-size: 48px;
    color: rgba(255,255,255,0.8);
}

.empty-state h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Griglia servizi pulita */
.services-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Sezione documenti pulita */
.documents-section-clean {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.documents-simplified {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-item-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-2);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.document-item-simple:hover {
    background: var(--bg-3);
    border-color: var(--primary);
    transform: translateX(4px);
}

.doc-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text);
}

.doc-status {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.doc-status.pending {
    color: var(--warning);
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 140px;
}

.more-docs {
    text-align: center;
    padding: 16px;
    background: var(--bg-2);
    border-radius: 12px;
    border: 2px dashed var(--border);
}

.more-docs p {
    margin: 0;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .economic-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }
    
    .economic-header .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard-section {
        padding: 20px;
    }
    
    .services-grid-clean {
        grid-template-columns: 1fr;
    }
    
    .document-item-simple {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===== CONTENT ENGINE STYLES ===== */
.content-engine-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-engine-section {
    background: var(--bg-2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
}

.content-engine-section h4 {
    margin: 0 0 16px 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

/* Categories Scroll */
.categories-scroll-container {
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-1);
    border: 1px solid var(--border);
}

.categories-scroll {
    display: flex;
    gap: 12px;
    padding: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-2);
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--bg-2);
    border-radius: 3px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 12px 16px;
    background: var(--bg-3);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.category-item:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-item.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.category-item.selected .category-name {
    color: white;
}

.category-item.selected .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-item.loading {
    background: var(--bg-2);
    color: var(--text-secondary);
    font-style: italic;
    min-width: 200px;
}

.category-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 4px;
}

.category-count {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-1);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Main Content Area */
.content-engine-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: transparent;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

.content-engine-left,
.content-engine-right {
    display: flex;
    flex-direction: column;
}

.content-engine-left h4,
.content-engine-right h4 {
    margin: 0 0 16px 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

/* Manual Prompt Area */
#contentEngineManualPrompt {
    min-height: 350px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-1);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#contentEngineManualPrompt:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#contentEngineManualPrompt::placeholder {
    color: var(--text-secondary);
    line-height: 1.6;
}

.prompt-help {
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-3);
    border-radius: 6px;
}

.prompt-help small {
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Articles List */
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.articles-list {
    max-height: 60vh;
    min-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-1);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-2);
}

.articles-list::-webkit-scrollbar {
    width: 6px;
}

.articles-list::-webkit-scrollbar-track {
    background: var(--bg-2);
}

.articles-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.article-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: var(--bg-3);
}

.article-item.loading {
    background: var(--bg-2);
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.article-title {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
    flex: 1;
    margin-right: 12px;
    text-align: l;
}

.article-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.article-item:hover .article-actions {
    opacity: 1;
}

.btn-edit,
.btn-delete {
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.btn-edit {
}

.btn-edit:hover {
}

.btn-delete {
    background: var(--danger);
    color: white;
}

.btn-delete:hover {
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.article-category {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.article-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.article-image {
    margin-top: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Generation Controls */
.content-engine-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--bg-2);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

.generation-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.option-button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--bg-3);
    color: var(--text);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 5px;
}

.option-button:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.option-button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.quick-prompts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
    display: none;
}

.quick-prompt {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.quick-prompt:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.generation-status {
    width: 100%;
    text-align: center;
}

.progress-message {
    padding: 12px 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.generation-actions {
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-large.generating {
    background: var(--warning);
    border-color: var(--warning);
}

.btn-icon {
    font-size: 18px;
}

/* Info Panel */
.content-engine-info {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-1);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: l;
}

.info-item:hover {
    background: var(--bg-2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 8px;
    flex-shrink: 0;
}

.info-content h5 {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-engine-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-scroll {
        padding: 12px;
    }
    

    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        min-width: 100%;
        padding: 14px 24px;
    }
    
    #contentEngineManualPrompt {
        min-height: 150px;
    }
    
    .articles-list {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .content-engine-container {
        gap: 16px;
    }
    
    .content-engine-section,
    .content-engine-main,
    .content-engine-controls,
    .content-engine-info {
        padding: 16px;
    }
    
    .categories-scroll {
        gap: 8px;
        padding: 8px;
    }
    

    .category-name {
        font-size: 12px;
    }
    
    .category-count {
        font-size: 10px;
    }
}

/* ===== CONTENT ENGINE TOAST NOTIFICATIONS ===== */
.content-engine-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    font-family: 'Inter', sans-serif;
}

.content-engine-toast.success {
    background: var(--success);
    color: white;
}

.content-engine-toast.error {
    background: var(--danger);
    color: white;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.toast-content i:first-child {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-content span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.toast-close i {
    font-size: 12px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive toast */
@media (max-width: 480px) {
    .content-engine-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .toast-content {
        padding: 12px 16px;
    }
    
    .toast-content span {
        font-size: 13px;
    }
}

/* ===== CHARACTER COUNTER ===== */
.character-counter {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* ===== ENHANCED PROMPT FIELD ===== */
#contentEngineManualPrompt {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contentEngineManualPrompt:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* ===== LOADING STATES ===== */
.content-engine-section.loading {
    pointer-events: none;
    opacity: 0.7;
}

.content-engine-section.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

/* ===== IMPROVED BUTTON STATES ===== */
.option-button:disabled,
.quick-prompt:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.option-button.active {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.content-engine-toast {
    role: alert;
    aria-live: polite;
}

.toast-close {
    aria-label: 'Chiudi notifica';
}

/* ===== KEYBOARD SHORTCUTS HINT ===== */
.prompt-help {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    font-style: italic;
}

.prompt-help::after {
    content: 'Premi Ctrl+Enter per generare rapidamente';
}

/* ===== PROMPT MANAGEMENT STYLES ===== */

.prompt-management-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Prompt Types Navigation */
.prompt-types-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}


/* Prompt Editor Container */
.prompt-editor-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    min-height: 500px;
}

/* Prompt List */
.prompt-list {
    background: transparent;
    border: solid 1px var(--border-line);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.prompt-list h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 16px;
}

.prompts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prompt-item {
    padding: 12px 15px;
    border: solid 1px var(--border-line);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.prompt-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(3px);
}

.prompt-item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.prompt-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.prompt-item-desc {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

/* Prompt Editor */
.prompt-editor {
    background: var(--bg-2);
    border: solid 1px var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.prompt-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.prompt-editor-header h4 {
    margin: 0;
    font-size: 18px;
}

.prompt-editor-actions {
    display: flex;
    gap: 10px;
}
.prompt-editor-actions button{
	font-size: 12px;
}
.prompt-editor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prompt-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
[article] .prompt-info input[type="text"]{
    outline: none;
    padding: 10px 15px;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: var(--inter);
    border: solid 2px var(--border);
    background: var(--bg-3);
    min-width: fit-content;
    width: -webkit-fill-available;
}
.prompt-info label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.prompt-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prompt-content label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.prompt-textarea {
    flex: 1;
    min-height: 300px;
    resize: vertical;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    padding: 15px;
    border: solid 1px var(--border);
    border-radius: 6px;
    background: #f8f9fa;
}

.prompt-textarea:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.prompt-textarea:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Prompt Preview */
.prompt-preview {
    background: transparent;
    border: solid 1px var(--border);
    border-radius: 8px;
    padding: 20px;
}

.prompt-preview h4 {
    color: var(--primary);
    margin: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.prompt-preview-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .prompt-editor-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prompt-list {
        order: 2;
    }
    
    .prompt-editor {
        order: 1;
    }
}

@media (max-width: 768px) {
    .prompt-types-nav {
        flex-direction: column;
        align-items: center;
        display: inline-block;
    }
    
  
    
    .prompt-editor-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .prompt-editor-actions {
        justify-content: center;
    }
    
    .prompt-textarea {
        min-height: 250px;
    }
}

/* File Preview Styles */
.file-preview-container {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.file-preview-container h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-preview-item {
    background: var(--bg-2);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
}

.file-preview-item:hover {
    background: var(--bg);
    border-color: var(--border);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    color: var(--primary);
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.file-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
}

.file-size {
    font-size: 12px;
    color: var(--text-muted);
}

.remove-file {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

.remove-file:hover {
    background: var(--danger);
    color: white;
}

.remove-file i {
    font-size: 12px;
}

/* ===== SITEMAP MANAGEMENT STYLES ===== */
.sitemap-management {
    padding: 20px;
}

.sitemap-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.sitemap-section h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sitemap-info {
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: 15px;
    border: 1px solid var(--border-light);
}

.sitemap-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.status-item {
    background: var(--bg-3);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.status-item h4 {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.status-item .value {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.status-item .value.success {
    color: var(--success);
}

.status-item .value.warning {
    color: var(--warning);
}

.status-item .value.danger {
    color: var(--danger);
}

.sitemap-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sitemap-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sitemap-btn.primary {
    background: var(--primary);
    color: white;
}

.sitemap-btn.primary:hover {
    background: var(--primary-hover);
}

.sitemap-btn.secondary {
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.sitemap-btn.secondary:hover {
    background: var(--border-light);
}

.sitemap-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.instructions {
    display: grid;
    gap: 20px;
}

.instruction-item {
    background: var(--bg-2);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.instruction-item h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instruction-item h4 i {
    color: var(--primary);
}

.instruction-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.instruction-item ol,
.instruction-item ul {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 20px;
}

.instruction-item li {
    margin-bottom: 5px;
}

.instruction-item code {
    background: var(--bg-3);
    color: var(--text);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.instruction-item a {
    color: var(--link-color);
    text-decoration: none;
}

.instruction-item a:hover {
    text-decoration: underline;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.loading-placeholder {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.loading-placeholder i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .sitemap-status {
        grid-template-columns: 1fr;
    }
    
    .sitemap-actions {
        flex-direction: column;
    }
    
    .sitemap-btn {
        justify-content: center;
    }
}

