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

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

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

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

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

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

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.summary-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.2s;
}

.summary-card.success {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f9ef 100%);
}

.summary-card.error {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.summary-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.summary-number {
    font-size: 2.5em;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

.summary-card.success .summary-number {
    color: #27ae60;
}

.summary-card.error .summary-number {
    color: #e74c3c;
}

.summary-label {
    font-size: 1em;
    color: #7b8bad;
    font-weight: 500;
}

.broken-link-item {
    background: #fff;
    border: 1.5px solid #fee2e2;
    border-left: 4px solid #e74c3c;
    border-radius: 10px;
    padding: 15px 18px;
    margin-bottom: 12px;
    text-align: left;
}

.broken-link-url {
    font-weight: 600;
    color: #e74c3c;
    font-size: 1.05em;
    margin-bottom: 8px;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

.broken-link-source {
    font-size: 0.95em;
    color: #6c7a89;
    margin-top: 6px;
}

.broken-link-source strong {
    color: #2c3e50;
}

.error-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
}

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

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

.error {
    background: #fee2e2;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 15px 20px;
    color: #c0392b;
    text-align: left;
}
