.tool-content{
    padding: 0%;
}


.generator-section {
    padding: 40px;
}

.password-display {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.password-output {
    font-family: 'Courier New', monospace;
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
    word-break: break-all;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.btn-success {
    background: linear-gradient(45deg, #27ae60, #229954);
    color: white;
}

.btn-warning {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.setting-group {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.setting-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.length-control {
    margin-bottom: 20px;
}

.length-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    margin: 15px 0;
    -webkit-appearance: none;
}

.length-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
}

.length-display {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    border-color: #e74c3c;
    transform: translateX(5px);
}

.checkbox-item.checked {
    border-color: #27ae60;
    background: #d5edda;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #27ae60;
}

.checkbox-label {
    font-weight: 500;
    color: #2c3e50;
    flex: 1;
}

.checkbox-example {
    font-family: 'Courier New', monospace;
    background: #f1f3f4;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.strength-meter {
    margin: 20px 0;
}

.strength-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.5s ease;
    border-radius: 6px;
}

.strength-weak { background: #e74c3c; }
.strength-fair { background: #f39c12; }
.strength-good { background: #f1c40f; }
.strength-strong { background: #27ae60; }
.strength-very-strong { background: #16a085; }

.strength-text {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

.generate-btn {
    width: 100%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 18px;
    font-size: 1.3em;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.tips-section {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 30px;
    margin-top: 30px;
    border-radius: 15px;
}

.tips-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.tips-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.preset-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.cta-security {
  margin: 50px 0 0 0;
  background: linear-gradient(90deg, #23c6fa 10%, #23315a 100%);
  color: #fff;
  /*border-radius: 18px;*/
  box-shadow: 0 10px 32px rgba(35,49,90,0.09);
  padding: 0;
}

.cta-security-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 38px 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cta-security-icon {
  font-size: 3.2rem;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-security-content {
  flex: 2;
}

.cta-security-content h2 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cta-security-content p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.cta-security-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cta-btn.btn-accent {
  background: linear-gradient(90deg, #fd746c, #ff9068);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 30px;
  box-shadow: 0 4px 16px rgba(253,116,108,0.12);
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .14s;
  margin-left: 24px;
}

.cta-btn.btn-accent:hover {
  background: linear-gradient(90deg, #ff9068, #fd746c);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 24px rgba(253,116,108,0.23);
}

@media (max-width: 900px) {
  .cta-security-inner { flex-direction: column; gap: 20px; text-align: center; }
  .cta-security-content h2 { font-size: 1.5rem; }
  .cta-security-content { width: 100%; }
  .cta-btn.btn-accent { margin: 18px 0 0 0; }
}
