/* تنسيق المربعات */
.symbols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative; 
}

.symbols span {
  width: auto;
  height: auto;
  min-width: 40px; 
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f0f8ff;
  color: #333;
  font-size: 1.2rem; 
  cursor: pointer;
  transition: all 0.3s;
}

.symbols span:hover {
  background-color: #add8e6;
  transform: scale(1.1);
}

.symbols .symbol:nth-child(n+11) {
  display: none;
}

.show-more-container {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: -10px; 
  padding-top: 10px; 
  background: rgba(255, 255, 255, 0); 
  z-index: 1; 
}

.show-more-container::before {
    content: "";
    display: block;
    height: 80px;
    background: rgba(255, 255, 255, 0.6); 
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    z-index: -1; 
}

.show-more {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #f0f8ff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  z-index: 2; 
}

.show-more:hover {
  background-color: #add8e6;
}

.decoration-section .decoration-box:nth-child(n+11) {
  display: none;
}

.show-more-decoration-container {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: -10px; 
  padding-top: 10px; 
  background: rgba(255, 255, 255, 0); 
  z-index: 1; 
}

.show-more-decoration-container::before {
    content: "";
    display: block;
    height: 80px; 
    background: rgba(255, 255, 255, 0.6); 
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    z-index: -1; 
}

.show-more-decoration {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #f0f8ff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  z-index: 2; 
}

.show-more-decoration:hover {
  background-color: #add8e6;
}

.scroll-button, .show-more-deco {
  display: block;
  margin: 10px auto 10px 0 ; 
  padding: 5px 10px; 
  background-color: #f0f8ff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  font-size: 0.8rem; 
  width: auto;
  max-width: 100px;
}

.scroll-button:hover, .show-more-deco:hover {
  background-color: #add8e6;
}

.symbolmsg {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.symbolmsg.show {
  opacity: 1;
  visibility: visible;
}


.copy-toast-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-size: 14px;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.load-more-symbols-btn {
    display: block;
    margin: 25px auto;
    width: 200px !important;
    padding: 14px;
    background: rgba(67, 56, 202, 0.7); /* لون أرجواني يتناسب مع التصميم */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px; /* زوايا مدورة بشكل معتدل */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-shadow: 
        0 5px 15px rgba(67, 56, 202, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.load-more-symbols-btn:hover {
    transform: translateY(-2px);
}

.load-more-symbols-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .load-more-symbols-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}
.symbols {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.symbol {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f8ff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.symbol:hover {
    background-color: #add8e6;
    transform: scale(1.1);
}
.symbolInputContainer {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 20px;
    transition: all 0.3s ease;
}

.symbolInputContainer:hover {
    border-color: #4CAF50;
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

#symbolInput {
    width: 100%;
    padding-left: 2.5em;
    padding-right: 2.5em;
    box-sizing: border-box;
    text-align: center;
	min-height: 50px;
}

#symbolInput::placeholder {
    text-align: center;
    font-size: 15px;
}

#copyIcon {
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#deleteAllIcon {
    position: absolute;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: red;
}

#deleteCharIcon {
    position: absolute;
    left: 3.5em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: red;
}

@media (max-width: 600px) {
    #copyIcon {
        right: 8%;
    }
    #deleteAllIcon {
        left: 8%;
    }
    #deleteCharIcon {
        left: 15%;
    }
}
