.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.2em;
    color: #2c3e50;
    background: white;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
    word-break: break-all;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    font-weight: 400;
    line-height: 1.7;
}

#output-text {
    text-align: left;
    font-size: 1em;
}

.password-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.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;
    font-size: 1em;
}

.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;
}

.form-row label,
.setting-group label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

input[type="number"] {
    width: 80px;
    padding: 7px 10px;
    border: 1px solid #d4d8ee;
    border-radius: 10px;
    font-size: 1em;
    background: #fff;
    color: #353b5c;
    margin-left: 8px;
}

input[type="number"]:focus {
    border: 1.5px solid #2980b9;
    outline: none;
}

input[type="checkbox"] {
    accent-color: #27ae60;
    margin-right: 5px;
}

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

.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;
    font-size: 1em;
}

.toast.show {
    transform: translateX(0);
}
.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}
.score-circle {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  font-weight: 800;
  margin-bottom: 12px;
  background: #ecf0f1;
  color: #2c3e50;
  border: 4px solid #e9ecef;
  transition: border .28s, color .23s;
}
.score-good { border-color: #27ae60; color: #27ae60; }
.score-average { border-color: #f1c40f; color: #f39c12; }
.score-poor { border-color: #e74c3c; color: #e74c3c; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.metric-card {
  background: #f8f9fa;
  border: 1.5px solid #e9ecef;
  border-radius: 12px;
  padding: 18px 16px 14px 16px;
  text-align: left;
}
.metric-title { font-weight: 600; color: #2c3e50; font-size: 1.08em;}
.metric-value { font-size: 1.15em; font-weight: bold; color: #2980b9; margin: 6px 0;}
.metric-description { color: #7b8bad; font-size: 0.98em; }
.opportunities { margin-top:24px;}
.opportunity-item { background: #f7f7fa; border-radius: 10px; padding:12px 15px 8px 15px; margin-bottom:10px;}
.opportunity-title { font-weight: 600; color: #2c3e50;}
.opportunity-description { font-size:0.99em; color:#6c7a89; margin:3px 0;}
.savings { color:#229954; font-size:0.97em; font-weight:500; }
.spinner {
  border: 5px solid #e9ecef;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 36px; height: 36px;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}
@keyframes spin { 100% { transform: rotate(360deg); } }



.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;
}



.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; }
}

.form-control,
input[type="url"] {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid #d4d8ee;
    border-radius: 10px;
    font-size: 1.05em;
    background: #fff;
    color: #2c3e50;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
    font-family: inherit;
}

.form-control:focus,
input[type="url"]:focus {
    border: 1.5px solid #3498db;
    background: #eef6fa;
    outline: none;
    box-shadow: 0 2px 7px rgba(52, 152, 219, 0.08);
}
