* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFE5F1 0%, #FFF0F5 50%, #FFFFFF 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
} */
                .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

.header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
/*     font-family: inherit; */
	}

.header p {
    color: white;
    font-size: 1.1rem;
}

.generator-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.1);
    overflow: hidden;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.form-section {
    padding: 40px;
    border-bottom: 1px solid #f0f0f0 !important;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.length-control {
    display: flex;
    align-items: center;
    gap: 20px;
}

#passwordLength {
    flex: 1;
    height: 8px;
	padding:4px !important;
    background: #f0f0f0 !important;
    border-radius: 4px !important;
    outline: none !important;
    -webkit-appearance: none;
}

#passwordLength::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px !important;
    background: linear-gradient(135deg, #FF6B9D, #E91E63);
    border-radius: 50% !important;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
    transition: transform 0.2s ease;
}

#passwordLength::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

#passwordLength::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF6B9D, #E91E63);
    border-radius: 50% !important;
    cursor: pointer;
    border: none !important;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
}

.length-value {
    background: linear-gradient(135deg, #FF6B9D, #E91E63);
    color: white;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    font-size: 1rem;
}

.checkbox-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #E91E63;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-item label {
    cursor: pointer;
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkbox-text {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.checkbox-example {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.generate-btn {
    width: 100%;
    background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
    color: white;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
}

.generate-btn:active {
    transform: translateY(0);
}

.result-section {
    padding: 40px;
    background: #fafafa;
}

.password-output {
    margin-bottom: 30px;
}

.password-output label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.password-display {
    display: flex;
    gap: 10px;
    align-items: center;
}

#generatedPassword {
    flex: 1;
    padding: 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: white;
    color: #333;
    word-break: break-all;
    transition: border-color 0.3s ease;
}

#generatedPassword:focus {
    outline: none;
    border-color: #FF6B9D;
}

.copy-btn {
    background: linear-gradient(135deg, #FF6B9D, #E91E63) !important;
    color: white;
    border: none !important;
    padding: 16px !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.copy-btn.copied {
    background: #4CAF50;
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.strength-indicator label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.strength-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#strengthText {
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.strength-bar {
    height: 8px !important;
    background: #e0e0e0;
    border-radius: 4px !important;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.5s ease;
    border-radius: 4px;
}

.strength-very-weak { 
    color: #f44336; 
}
.strength-weak { 
    color: #ff9800; 
}
.strength-medium { 
    color: #ffeb3b; 
}
.strength-strong { 
    color: #8bc34a; 
}
.strength-very-strong { 
    color: #4caf50; 
}

.strength-fill.very-weak { 
    background: #f44336; 
    width: 20%; 
}
.strength-fill.weak { 
    background: #ff9800; 
    width: 40%; 
}
.strength-fill.medium { 
    background: #ffeb3b; 
    width: 60%; 
}
.strength-fill.strong { 
    background: #8bc34a; 
    width: 80%; 
}
.strength-fill.very-strong { 
    background: #4caf50; 
    width: 100%; 
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0px !important;
    }
    
    .header h1 {
        font-size: 35px !important;
    }
    
    .form-section,
    .result-section {
        padding: 30px 20px;
    }
    
    .checkbox-grid {
        gap: 15px;
    }
    
    .password-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-btn {
        width: 100%;
        height: auto;
        padding: 12px;
        justify-content: center;
    }
    
    .length-control {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .form-section,
    .result-section {
        padding: 20px 15px;
    }
    
    .checkbox-item {
        gap: 10px;
    }
    
    .checkbox-text {
        font-size: 0.95rem;
    }
    
    .checkbox-example {
        font-size: 0.85rem;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* Neutral scrollbar */
/* ::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
} */