

	body {
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
	
}
.tool-wrapper {
	background-color: var(--bg);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
	overflow: hidden; /* Works in all browsers including IE */
	display: flow-root; /* Modern browsers will use this if supported */
}
.tool-container {
      position: relative;
      max-width: var(--max-width);
      padding: var(--padding-vertical) var(--padding-horizontal);
} 

/* PASSWORD GENERATOR SPECIFIC STYLES */

.password-display {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background: var(--primary-extra-light);
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary-light);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    position: relative;
}

.password-display::after {
    content: "click to copy";
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
}

.password-display:hover::after {
    opacity: 1;
}


.range-slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.range-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



/* Dark mode adjustments */
.dark-mode .password-display {
    background: rgba(255, 138, 101, 0.1);
    border-color: rgba(255, 138, 101, 0.2);
}

.dark-mode .range-slider {
    background: var(--white);
}

.dark-mode .checkmark {
    background-color: var(--white);
}

.dark-mode .checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.result-actions {
    display: flex;
    gap: 10px;
}

.results-container {
     background: var(--white);
     border-radius: var(--radius-lg);
     box-shadow: var(--shadow-lg);
     border: 1px solid var(--border-light);
     margin-bottom: 60px;
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
}

.results-container {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.results-container.hiding {
    opacity: 0;
    transform: translateY(-10px);
}

/* Password Actions */
.password-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.action-btn {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.action-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 109, 0, 0.1);
}


.refresh-btn {
    background: var(--primary);
    color: white;
}

.refresh-btn:hover {
    background: var(--primary-dark);
}

/* Dark mode adjustments */
.dark-mode .cancel-btn:hover {
    background: rgba(255, 138, 101, 0.2);
}

.dark-mode .action-btn {
    background: var(--white);
}

.length-hint {
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}





.config-section {
    padding-top: 20px;
    margin-bottom: 25px;
}

.password-actions {
    margin: 25px 0;
}


/* Password Length Control - Professional Style */
.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

#lengthValue {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-extra-light);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    outline: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

/* Track */
.range-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(
        to right,
        var(--primary-light) 0%,
        var(--primary-light) calc(100% * (12 - 4) / (64 - 4)),
        var(--primary) calc(100% * (12 - 4) / (64 - 4)),
        var(--primary) 100%
    );
    border-radius: 3px;
    border: none;
}

.range-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(
        to right,
        var(--primary-light) 0%,
        var(--primary-light) calc(100% * (12 - 4) / (64 - 4)),
        var(--primary) calc(100% * (12 - 4) / (64 - 4)),
        var(--primary) 100%
    );
    border-radius: 3px;
    border: none;
}

/* Thumb */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

/* Interactive States */
.range-slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.range-slider:active::-webkit-slider-thumb {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.2);
}

.range-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.3);
}

/* Tooltip for recommended range */
.form-group::after {
    display: none;
}

/* Add tooltip to a new wrapper div */
.range-slider-container {
    position: relative;
}

.range-slider-container::after {
    content: "Recommended: 12-24 characters";
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.range-slider-container:hover::after {
    opacity: 1;
}

.form-group:hover::after {
    opacity: 1;
}

/* Dark Mode Adjustments */
.dark-mode .range-slider::-webkit-slider-thumb {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
}

.dark-mode .range-slider::-moz-range-thumb {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
}

.dark-mode #lengthValue {
    background: rgba(255, 138, 101, 0.15);
}

.dark-mode .form-group::after {
    color: var(--text-light);
}

/* Animated value change */
#lengthValue {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Pulse animation when value changes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.length-change {
    animation: pulse 0.4s ease;
}

/* Live Indicator Styles */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 6px 12px 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: live-pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 109, 0, 0.3);
    flex-shrink: 0;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: live-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 109, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 109, 0, 0.5);
    }
}

@keyframes live-dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Results header alignment - Left and Right Layout */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px !important;
	border-radius: 14px 14px 0 0;
	background: var(--primary-extra-light);
    border-bottom: 1px solid var(--border-light);
}

.results-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
    flex: 1;
}

.results-title .svg-icon {
    width: 1.1em;
    height: 1.1em;
    color: var(--primary);
}

.svg-icon {
    width: 1.4em;
    height: 1.4em;
}
.results-body {
    padding: 30px;
}
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

/* SVG Icon Sizing Adjustments */
.form-label .svg-icon, 
.section-title .svg-icon,
.result-item-label .svg-icon {
    width: 1.4em;
    height: 1.4em;
	color: var(--primary);
}

.action-btn .svg-icon {
    width: 1.4em;
    height: 1.4em;
}

.section-title{
	margin-bottom: 30px !important;
}

.section-title{
	color: var(--text);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.result-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.result-item-label {
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dark mode support for live indicator */
.dark-mode .live-indicator {
    background: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(255, 138, 101, 0.3);
}

.dark-mode .live-indicator {
    animation: live-pulse-dark 2s ease-in-out infinite;
}

@keyframes live-pulse-dark {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 138, 101, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 138, 101, 0.5);
    }
}

/* Mobile responsiveness for header layout */
@media (max-width: 768px) {
	 
    .results-header {
        gap: 15px;
        text-align: center;
        padding: 0;
    }
    
    .results-title {
        font-size: 1.5rem;
        width: 100%;
    }
    
    .live-indicator {
        font-size: 0.75rem;
        padding: 5px 10px 5px 8px;
    }
    
    .live-dot {
        width: 5px;
        height: 5px;
    }
	.action-btn {
  padding: 14px 14px !important;

} 

}

@media (max-width: 522px) {
.password-actions {
  display: block !important;
  gap:15px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}
 

}




@media (max-width: 480px) {
  .results-container {
    width: 100%;

}

    .results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0;
    }

    .results-title {
        font-size: 1.5rem;
        justify-content: center;
        width: 100%;
    }

    
	.results-body {
        padding: 20px;
}
    .live-indicator {
        font-size: 0.7rem;
        padding: 4px 8px 4px 6px;
		display: none;
    }
	
	.results-grid {
        grid-template-columns: 1fr;
    }
	
	
}


/* Dark mode adjustments */
.dark-mode .results-container {
    background: var(--bg-secondary);
    border-color: var(--border);
}


/* Password Strength Analysis Styles */
.strength-section {
    margin: 20px 0 30px 0;
}

.strength-indicator {
    margin: 1.5rem 0;
    position: relative;
}

.strength-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 6px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Animated shine effect */
.strength-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Strength level pulsing effects */
.strength-weak .strength-fill {
    width: 25%;
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
    animation: pulse-weak 2s infinite;
}

.strength-medium .strength-fill {
    width: 50%;
    background: linear-gradient(90deg, #f39c12, #f1c40f);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
    animation: pulse-medium 2s infinite;
}

.strength-strong .strength-fill {
    width: 75%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.3);
    animation: pulse-strong 2s infinite;
}

.strength-very-strong .strength-fill {
    width: 100%;
    background: linear-gradient(90deg, #16a085, #1abc9c);
    box-shadow: 0 0 25px rgba(22, 160, 133, 0.4);
    animation: pulse-very-strong 2s infinite;
}

/* Pulsing animations for each strength level */
@keyframes pulse-weak {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 71, 87, 0.5); }
}

@keyframes pulse-medium {
    0%, 100% { box-shadow: 0 0 20px rgba(243, 156, 18, 0.3); }
    50% { box-shadow: 0 0 30px rgba(243, 156, 18, 0.5); }
}

@keyframes pulse-strong {
    0%, 100% { box-shadow: 0 0 20px rgba(39, 174, 96, 0.3); }
    50% { box-shadow: 0 0 30px rgba(39, 174, 96, 0.5); }
}

@keyframes pulse-very-strong {
    0%, 100% { box-shadow: 0 0 25px rgba(22, 160, 133, 0.4); }
    50% { box-shadow: 0 0 35px rgba(22, 160, 133, 0.6); }
}

/* Enhanced strength labels */
.strength-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    position: relative;
}

.strength-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    text-align: center;
    flex: 1;
    padding-top: 20px;
    transition: all 0.3s ease;
}

.strength-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.strength-label::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Active state for labels */
.strength-indicator.strength-weak .strength-label[data-strength="weak"]::before,
.strength-indicator.strength-medium .strength-label[data-strength="medium"]::before,
.strength-indicator.strength-strong .strength-label[data-strength="strong"]::before,
.strength-indicator.strength-very-strong .strength-label[data-strength="very-strong"]::before {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px currentColor;
}

.strength-indicator.strength-weak .strength-label[data-strength="weak"]::after,
.strength-indicator.strength-medium .strength-label[data-strength="medium"]::after,
.strength-indicator.strength-strong .strength-label[data-strength="strong"]::after,
.strength-indicator.strength-very-strong .strength-label[data-strength="very-strong"]::after {
    opacity: 0.3;
    animation: label-pulse 2s infinite;
}

@keyframes label-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 0.5; }
}

/* Color coding for labels */
.strength-label[data-strength="weak"]::before { background: #ff4757; }
.strength-label[data-strength="medium"]::before { background: #f39c12; }
.strength-label[data-strength="strong"]::before { background: #27ae60; }
.strength-label[data-strength="very-strong"]::before { background: #16a085; }

.strength-label[data-strength="weak"]::after { background: #ff4757; }
.strength-label[data-strength="medium"]::after { background: #f39c12; }
.strength-label[data-strength="strong"]::after { background: #27ae60; }
.strength-label[data-strength="very-strong"]::after { background: #16a085; }

/* Enhanced feedback */
.strength-feedback {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.strength-weak .strength-feedback {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border-left: 4px solid #ff4757;
}

.strength-medium .strength-feedback {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
}

.strength-strong .strength-feedback {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
}

.strength-very-strong .strength-feedback {
    color: #16a085;
    background: rgba(22, 160, 133, 0.1);
    border-left: 4px solid #16a085;
}

/* Dark mode adjustments */
.dark-mode .strength-section {
    background: var(--bg-secondary);
}

.dark-mode .strength-bar {
    background: var(--bg);
}

.dark-mode .strength-feedback {
    background: rgba(255,255,255,0.05);
}


/* Refresh icon animation */
.refreshing-icon {
    animation: perfect-spin 0.5s ease;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes perfect-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Additional animations */
.updating {
    animation: fade-update 0.3s ease;
}

.copied {
    animation: bounce 0.3s ease;
}

@keyframes fade-update {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

    .faq-content li {
      display: block !important;
    }
	
/* Focus styles for accessibility */
.generate-now-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}	

