 body {
	font-family: 'Segoe UI', sans-serif;
	background: #f4f6f8;
	color: #333;
	padding: 2rem;
	margin: 0;
}
h1 {
	text-align: center;
	color: #222;
}

h2{
	text-align:center;
}

h3{
	font-weight:500;
	text-align:center;
	margin-top:3rem;
}

a{
	color:#8b8b8b;
}

#top a{
	display: block;
    text-align: center;
    color: #333333;
    text-decoration: none;
}

form {
	background: white;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.container{
	width: 700px;
	max-width: 100%;
	margin: 0 auto;
}

.big_container{
	width: 1400px;
	max-width: 100%;
	margin: 2rem auto;
}

.results{
	padding: 0;
	margin-top:5rem;
}

input[type="text"] {
	width: 94%;
	padding: 1rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	margin-bottom: 1rem;
}
button {
	background: #0073e6;
	color: white;
	padding: 0.8rem 1.5rem;
	font-size: 1rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	display: block;
	margin:auto;
	transition:all linear 0.2s;
}

button:hover {
	background:#9300e6;
}

.output {
	margin: 1rem auto;
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
	padding: 0.8rem;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	font-size:20px;
	position:relative;
}

.padd_top{
   margin-top:10rem;
}

.little_padd_top{
   margin-top:5rem;
}

table{
	font-size:14px;
}

.flex{
	display:flex;
}

#container_fonts .flex > div{
	flex:5;
}

#container_fonts .flex{
	justify-content: space-between;
}

.center{
	text-align:center;
}

.table_container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* pour un scroll fluide sur iOS */
}

.table_container table {
  width: max-content; /* ou min-width: 100%; selon le rendu voulu */
  border-collapse: collapse;
}

#symbols {
	margin-top: 10px;
}
.symbol {
	font-size: 20px;
	padding: 5px 8px;
	margin: 3px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
	display: inline-block;
	user-select: none;
}
.symbol:hover {
	background: #f0f0f0;
}

.added {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	color: green;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.symbol.show-added .added {
	opacity: 1;
}

#symbols {
  max-width: 800px;
  margin: auto;
  font-family: sans-serif;
}

/* Barre des onglets */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
  border-bottom: none; /* plus clean */
  justify-content: center;
}

/* Boutons onglets */
.tab {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  border-radius: 25px;
  background: #f5f5f5;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.tab:hover {
  background: #eee;
  transform: translateY(-2px);
}

.tab.active {
  background: linear-gradient(135deg, #6C63FF, #A36BFF);
  color: white;
  box-shadow: 0 4px 12px rgba(108,99,255,0.3);
}

/* Contenu */
.tab-content {
  display: none;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 0 8px 8px 8px;
  background: white;
}

.tab-content.active {
  display: block;
}

/* Symboles */
.symbol-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.output.copied {
	background-color: #d4edda;
	border-color: #28a745;
}

#copiedMsg{
	position: fixed;
	top: 15px;
	right: 15px;
	background: #28a745;
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 9999;}

#copiedMsg.show {
	opacity: 1;
}

.output::after {
	content: "📋";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.output:hover::after {
	opacity: 1;
}

@media only screen and (max-width: 768px) {
	.flex{
		display:block;
	}
	
	input[type="text"] {
		width: 90%;
	}
	
	button{
		margin: auto;
		display: block;
	}
	
	big_container{
		margin:0;
	}
}