/* ===============================================
   MAIN CONTAINER STYLES
   =============================================== */

.pm-generator-container h3 {
  margin-bottom: 24px;
  color: #333;
  font-size: 20px;
}

.pm-gen-block {
  margin-bottom: 32px;
}

/* ===============================================
   INPUT FIELD WITH COPY BUTTON
   =============================================== */
.pm-inline-field {
  display: flex;
  align-items: center;
  margin-top: 5px;
  position: relative;
}

.pm-inline-input {
  flex: 1;
  padding: 12px;
  padding-right: 45px;
  margin-right: 5px;
  font-family: monospace;
  border: 1px solid #e6e1ff;
  border-radius: 8px;
  font-size: 14px;
}

.pg-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  margin: 0;
  background-color: transparent;
  border: none;
  padding: 10px 2px;
  cursor: pointer;
}

.copy-icon {
  width: 18px;
  height: 18px;
  fill: #666;
  transition: fill 0.2s;
}

.copy-icon:hover {
  fill: #7562E0;
}

/* ===============================================
   PASSWORD LENGTH SECTION
   =============================================== */
.length-container {
  width: 100%;
  max-width: 600px;
  margin: 20px 0;
}

.length-container label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  margin-bottom: 12px;
  font-size: 14px;
}

#pm_length_label, #pm_words_label {
  color: #333;
  font-weight: 500;
}

/* ===============================================
   RANGE SLIDER STYLING
   =============================================== */
input[type="range"] {
  width: 100%;
  height: 4px !important;
  background: #e6e1ff;
  border-radius: 2px;
  -webkit-appearance: none;
  margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #7562E0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(117, 98, 224, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #7562E0;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(117, 98, 224, 0.2);
}

/* ===============================================
   CHECKBOX SECTION
   =============================================== */
.checkbox-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.checkbox-container label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f6ff;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s;
}

.checkbox-container label:hover {
  background-color: #f1eeff;
}

/* ===============================================
   CUSTOM CHECKBOX STYLING
   =============================================== */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #7562E0;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

input[type="checkbox"]:checked {
  background-color: #7562E0;
  border-color: #7562E0;
}

input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ===============================================
   BUTTON STYLES
   =============================================== */
.button-container {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.pm-action-btn {
  flex: 1;
  background-color: #7562E0;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-action-btn:hover {
  background-color: #6553c7;
}

/* Generate Password icon */
.pm-action-btn[onclick*="pmGeneratePassword"]::before,
.pm-action-btn[onclick*="pmGeneratePassphrase"]::before {
  content: '';
  display: inline-block;
  width: 38.2px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0 0 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 0 0 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Save to Vault icon */

.pm-action-btn[onclick*="pmSaveGenerated"]::before,
.pm-action-btn[onclick*="alert"]::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2v9.67z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ===============================================
   SEPARATOR
   =============================================== */
.pm-generator-container hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #e6e1ff;
}





/* Password Manager */

.wp-pm-vault-table {
	width: 100%; 
	border-collapse: collapse; 
	margin: 20px 0;
}

.wp-pm-vault-table th, .wp-pm-vault-table td {
	border: 1px solid #ccc; 
	padding: 8px;
	font-family: Arial, sans-serif;
}

.wp-pm-vault-table th {
	background: #f3f3f3;
}

.icon-btn {
	border: none; 
	background: transparent; 
	cursor: pointer; 
	margin: 0 5px;
}



.pm-icon-btn img {
	width: 30px;
	background-color: transparent;
	
}

button.pm-icon-btn {
    background-color: transparent;
	
}

.pm-action-box  {
	display: flex;
	justify-content: center;
    text-align: center;
    align-items: center;
	font-size: 20px;
	
}

.pm-top-actions {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    
}

.pm-action-box img {
	width: 45px;
	margin-right: 7%;
	
}



