/* Password input with toggle */
.password-wrapper {
 position: relative;
 display: flex;
 align-items: center;
}
.password-wrapper input {
 width: 100%;
 padding: 1rem 3rem 1rem 1.2rem;
 background: rgba(255, 255, 255, 0.05);
 border: 1.5px solid var(--border-light);
 border-radius: 12px;
 color: var(--text-primary);
 font-size: 1rem;
 transition: all 0.3s ease;
}
.password-wrapper input::placeholder {
 color: var(--text-secondary);
 opacity: 0.7;
}
.password-wrapper input:focus {
 border-color: var(--accent-primary);
 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
 outline: none;
 background: rgba(255, 255, 255, 0.08);
}
.toggle-password {
 position: absolute;
 right: 1rem;
 background: none;
 border: none;
 color: var(--text-secondary);
 cursor: pointer;
 padding: 0.5rem;
 border-radius: 6px;
 transition: all 0.3s ease;
}
.toggle-password:hover {
 background: rgba(99, 102, 241, 0.1);
 color: var(--text-primary);
}
/* Range input */
.range-container {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin-bottom: 0.5rem;
}
.range-container input[type="range"] {
 flex: 1;
 height: 6px;
 border-radius: 3px;
 background: rgba(255, 255, 255, 0.1);
 outline: none;
}
.range-container input[type="range"]::-webkit-slider-thumb {
 -webkit-appearance: none;
 width: 20px;
 height: 20px;
 border-radius: 50%;
 background: var(--accent-primary);
 cursor: pointer;
 border: 2px solid var(--bg-secondary);
}
.range-container input[type="range"]::-moz-range-thumb {
 width: 20px;
 height: 20px;
 border-radius: 50%;
 background: var(--accent-primary);
 cursor: pointer;
 border: 2px solid var(--bg-secondary);
}
#roundsValue {
 font-weight: 700;
 color: var(--accent-primary);
 min-width: 2rem;
 text-align: center;
}
.range-info {
 display: flex;
 justify-content: space-between;
 font-size: 0.8rem;
 color: var(--text-secondary);
}
/* Results */
.bcrypt-result {
 margin-top: 2rem;
 animation: fadeIn 0.5s ease;
}
.result-header {
 text-align: center;
 margin-bottom: 2rem;
 padding: 1.5rem;
 background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
 border: 1px solid var(--border-accent);
 border-radius: 16px;
}
.result-header h2 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
 background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}
.hash-info {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}
.info-badge {
 padding: 0.4rem 0.8rem;
 background: rgba(99, 102, 241, 0.2);
 border: 1px solid var(--border-accent);
 border-radius: 20px;
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--text-primary);
}
.hash-container {
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid var(--border-light);
 border-radius: 12px;
 padding: 1.5rem;
 margin-bottom: 1.5rem;
}
.hash-display {
 background: rgba(0, 0, 0, 0.3);
 border: 1px solid var(--border-light);
 border-radius: 8px;
 padding: 1rem;
 margin-bottom: 1.5rem;
 word-break: break-all;
}
.hash-value {
 font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
 font-size: 0.9rem;
 color: var(--success-color);
 line-height: 1.4;
}
.hash-details {
 display: grid;
 gap: 1rem;
 margin-bottom: 1.5rem;
}
.detail-item {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
}
.detail-label {
 font-size: 0.9rem;
 color: var(--text-secondary);
 font-weight: 600;
}
.detail-value {
 font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
 font-size: 0.85rem;
 color: var(--text-primary);
 word-break: break-all;
 padding: 0.5rem;
 background: rgba(0, 0, 0, 0.2);
 border-radius: 4px;
}
.actions-container {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}
.action-btn {
 padding: 0.8rem 1.5rem;
 background: rgba(255, 255, 255, 0.1);
 border: 1px solid var(--border-light);
 border-radius: 8px;
 color: var(--text-primary);
 font-weight: 600;
 cursor: pointer;
 transition: all 0.3s ease;
 text-decoration: none;
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.9rem;
}
.action-btn:hover {
 background: rgba(99, 102, 241, 0.2);
 border-color: var(--accent-primary);
 transform: translateY(-2px);
}
.action-btn.copy {
 background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
}
.action-btn.copy:hover {
 background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}
/* Responsive Design */
@media (max-width: 768px) {
 .hash-info {
  flex-direction: column;
  align-items: center;
 }
 .actions-container {
  flex-direction: column;
  align-items: center;
 }
 .action-btn {
  width: 100%;
  max-width: 250px;
  justify-content: center;
 }
 .hash-details {
  grid-template-columns: 1fr;
 }
 .range-info {
  font-size: 0.7rem;
 }
}
