.headsetting {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 25px 20px;
  margin-top:10px;
  background-color:#252424;
  border-radius: 15px;
  width:96%;
}
.headsetting h2{
  font-size: 21px;
  font-weight: bold;
  color: #555555; /* yellow */
  font-style:italic;
  font-family:fantasy;
}
.headsetting .settingversion {
  font-size: 18px;
  color: #555555; /* light blue */
  margin-left: 6px;
  font-family:cursive;
}
.wrapsetting {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-top: 10px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


.plugin-setting-heading{
	background-color:#252424;padding:10px;color:#eee;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	
	 background-image:
        linear-gradient(
            to right,
            transparent 0,
            transparent calc(100% - 26px),
            #fff calc(100% - 26px),
            #fff calc(100% - 22px),
            transparent calc(100% - 22px),
            transparent calc(100% - 18px),
            #fff calc(100% - 18px),
            #fff calc(100% - 14px),
            transparent calc(100% - 14px),
            transparent calc(100% - 10px),
            #fff calc(100% - 10px),
            #fff calc(100% - 6px),
            transparent calc(100% - 6px)
        );
}

/* TAB WRAPPER **********************************************************************************************/
.nav-tab-wrapper {
  border-bottom: none;
  margin-bottom: 0;
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
}

/* DEFAULT TAB */
.nav-tab {
  background: #e9e9e9;
  border: none;
  border-radius: 12px 12px 0 0; /* TOP rounded, BOTTOM flat */
  padding: 10px 20px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* HOVER */
.nav-tab:hover {
  background: linear-gradient(45deg, #7c70f9, #00c3ff);
  color: #fff;
}

/* ACTIVE TAB */
.nav-tab-active {
 background: linear-gradient(45deg, #7c70f9, #00c3ff);
  color: #fff;
  box-shadow: none; 
}

/* Right Column Enhancements *************************************************************************/
.right-sidebar {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  font-size: 14px;
  line-height: 1.6;
}

.right-sidebar h3 {
  color: #34495e;
  font-size: 15px;
  border-left: 3px solid #ff9900;
  padding-left: 8px;
  margin-top: 0;
}

/* CONTENT AREA (tab body) */
.ptpian-tab {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 0 10px 10px 10px; /* top-left flat */
  border: 1px solid #e1e1e1;
  margin-top: -2px; /* pulls up to connect with tab */
}

/* Left Column Enhancements *************************************************************************/

.left-area {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  font-size: 14px;
  line-height: 1.6;
}

  .wrapsetting ul { list-style: none; }
  .wrapsetting ul li { display: inline; } 
  .wrapsetting ul li img { border: 2px solid white; cursor: pointer; width: 80px; height:80px }
  .wrapsetting ul li img:hover { border: 4px solid #00FFFF; }
  
  
  /* toggle in label designing */
    .wrapsetting .toggle {
        position : relative ;
        display : inline-block;
        width : 70px;
        height : 32px;
        background-color: #F1F1F1;
        border-radius: 30px;
        border: 2px solid #555555;
    }
          
    /* After slide changes */
    .wrapsetting .toggle:after {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #252424;
        top: 1px; 
        left: 1px;
        transition:  all 0.5s;
    }
          
    /* Toggle text */
    .wrapsetting p {
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
		padding: 3px 0 0 4px;
    }
          
    /* Checkbox checked effect */
    .wrapsetting .checkbox:checked + .toggle::after {
        left : 40px; 
    }
          
    /* Checkbox checked toggle label bg color */
    .wrapsetting .checkbox:checked + .toggle {
        background-color: #0CBBFE;
    }
          
    /* Checkbox vanished */
    .wrapsetting .checkbox { 
        display : none;
    }

/* Style the select box like a toggle */
.wrapsetting select {
    appearance: none;        /* remove browser default */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #F1F1F1;
    border: 2px solid #252424;
    border-radius: 15px;
    padding: 2px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    width: 140px;
    height: 34px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Hover & focus effect */
.wrapsetting select:hover,
.wrapsetting select:focus {    
    background-color: #EFFFFF;
    outline: none;
}	

.wrapsetting #thumbs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.wrapsetting #thumbs li {
    display: inline-block;
}

.wrapsetting #thumbs img {
    width: 80px;
    height: auto;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: border 0.2s ease, transform 0.2s ease;
}

/* Hover effect (without flicker) */
.wrapsetting #thumbs img:hover {
    transform: scale(1.05);
    border-color: cyan; /* or any highlight color */
}

/* Selected (clicked) effect */
.wrapsetting #thumbs img.hover {
    border-color: gold; /* Change to match your theme */
    box-shadow: 0 0 10px gold;
}

	
/* Centered Submit Button */
.center-submit {
  text-align: center;
  margin-top: 30px;
  width:100%;
}

.center-submit input[type="submit"] {
  background: linear-gradient(45deg, #7c70f9, #00c3ff);
  color: white;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.4s, transform 0.2s;
}

.center-submit input[type="submit"]:hover {
  background: linear-gradient(45deg, #00c3ff, #7c70f9);
  transform: scale(1.05);
}

.visit-ptpiano-button{
  background: linear-gradient(45deg, #7c70f9, #00c3ff);
  color: white;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.4s, transform 0.2s;
  text-decoration:none;
   
}

.visit-ptpiano-button a{
	color:#fff; 
}

#ptpian-song-table {
  width: 100%;
}

/* Table Header Styling */
#ptpian-song-table thead th {
  background: linear-gradient(45deg, #7c70f9, #00c3ff);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 10px;
  border: none;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Rounded top corners */
#ptpian-song-table thead th:first-child {
  border-top-left-radius: 10px;
}

#ptpian-song-table thead th:last-child {
  border-top-right-radius: 10px;
}

/* Add subtle divider */
#ptpian-song-table thead th:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.2);
}

#ptpian-song-table th:nth-child(2),
#ptpian-song-table td:nth-child(2) {
  width: 120px; /* Scale column small */
}

#ptpian-song-table th:nth-child(3),
#ptpian-song-table td:nth-child(3) {
  width: 40%; /* Notes column bigger */
}

#ptpian-song-table input[type="text"] {
  width: 100%;
}

#ptpian-song-table textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
}

/* Make Action column compact */
#ptpian-song-table th:nth-child(4),
#ptpian-song-table td:nth-child(4) {
  width: 100px;
  text-align: center;
}

/* Remove Button Styling */
#ptpian-song-table .remove-row {
  background: linear-gradient(45deg, #ff4d4d, #ff8080);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover */
#ptpian-song-table .remove-row:hover {
  background: linear-gradient(45deg, #e60000, #ff4d4d);
  transform: scale(1.05);
}

/* Click effect */
#ptpian-song-table .remove-row:active {
  transform: scale(0.95);
}