/* AntiSpywares Password Checker Styles */
.aspc-password-checker-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.aspc-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.aspc-header {
    text-align: center;
    margin-bottom: 30px;
}

.aspc-title {
    color: #233D78;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.aspc-description {
    color: #5B98BA;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.aspc-input-section {
    margin-bottom: 30px;
}

.aspc-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.aspc-input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    font-size: 16px;
    border: 2px solid #5B98BA;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-family: monospace;
}

.aspc-input:focus {
    outline: none;
    border-color: #233D78;
}

.aspc-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.aspc-toggle-btn:hover {
    opacity: 1;
}

.aspc-eye-icon {
    display: block;
}

.aspc-strength-bar-container {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.aspc-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.aspc-strength-bar.very-weak {
    width: 20%;
    background-color: #FF6B6B;
}

.aspc-strength-bar.weak {
    width: 40%;
    background-color: #FFA500;
}

.aspc-strength-bar.fair {
    width: 60%;
    background-color: #FFD700;
}

.aspc-strength-bar.strong {
    width: 80%;
    background-color: #90EE90;
}

.aspc-strength-bar.very-strong {
    width: 100%;
    background-color: #28A745;
}

.aspc-strength-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    min-height: 27px;
}

.aspc-strength-text.very-weak {
    color: #FF6B6B;
}

.aspc-strength-text.weak {
    color: #FFA500;
}

.aspc-strength-text.fair {
    color: #FFD700;
}

.aspc-strength-text.strong {
    color: #90EE90;
}

.aspc-strength-text.very-strong {
    color: #28A745;
}

.aspc-results-section {
    margin-bottom: 30px;
}

.aspc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.aspc-metric-card {
    background-color: #f8f9fa;
    border: 2px solid #5B98BA;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.aspc-metric-label {
    color: #233D78;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.aspc-metric-value {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
}

.aspc-analysis-section,
.aspc-suggestions-section {
    margin-bottom: 25px;
}

.aspc-section-title {
    color: #233D78;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #5B98BA;
    padding-bottom: 8px;
}

.aspc-analysis-content {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #5B98BA;
}

.aspc-analysis-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #000000;
}

.aspc-analysis-item:last-child {
    margin-bottom: 0;
}

.aspc-analysis-icon {
    margin-right: 10px;
    font-size: 18px;
}

.aspc-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aspc-suggestions-list li {
    background-color: #FFF8E1;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #FFD700;
    color: #000000;
}

.aspc-suggestions-list li:last-child {
    margin-bottom: 0;
}

.aspc-info-section {
    background-color: #E8F4F8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.aspc-best-practices {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.aspc-best-practices li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #000000;
    line-height: 1.6;
}

.aspc-best-practices li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28A745;
    font-weight: bold;
    font-size: 18px;
}

.aspc-disclaimer {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.aspc-disclaimer p {
    margin: 0;
    color: #5B98BA;
    font-size: 14px;
}

.aspc-disclaimer strong {
    color: #233D78;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aspc-container {
        padding: 20px;
    }
    
    .aspc-title {
        font-size: 24px;
    }
    
    .aspc-description {
        font-size: 14px;
    }
    
    .aspc-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aspc-input {
        font-size: 14px;
        padding: 12px 45px 12px 12px;
    }
}

@media (max-width: 480px) {
    .aspc-password-checker-wrapper {
        padding: 10px;
    }
    
    .aspc-container {
        padding: 15px;
    }
    
    .aspc-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Overlay */
.aspc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.aspc-loading-overlay.hidden {
    display: none;
}

.aspc-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #5B98BA;
    border-top-color: #233D78;
    border-radius: 50%;
    animation: aspc-spin 1s linear infinite;
}

@keyframes aspc-spin {
    to {
        transform: rotate(360deg);
    }
}

.aspc-loading-overlay p {
    margin-top: 20px;
    color: #233D78;
    font-size: 16px;
    font-weight: 600;
}

