/* Basic page styling */
body {
    margin: 0;
    background-color: #1C1C1C;
    font-family: 'Inter', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main container styling */
.container{
    background-color: #1F2937;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    height: 385px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out; /* Entry animation */
}

/* Heading styles */
h1{
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

/* Subheading styles */
h3{
    font-size: 16px;
    color: #D1D5DB;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* Title first color */
.color1{
    color: white;
}

/* Title second color */
.color2{
    color: #4ADF86;
}

/* Password lenght control styling */
.control {
    margin-bottom: 15px;
}

.control label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D1D5DB;
    font-size: 14px;
    font-weight: 500;
}

.control input {
    background-color: #273549;
    color: #4ADF86;
    border: 1px solid #374151;
    border-radius: 4px;
    padding: 8px 12px;
    width: 60px;
    font-size: 14px;
    transition: all 0.3s ease; /* Smooth transitions */
}

/* Input States */
.control input:hover {
    border-color: #4ADF86;
}

.control input:focus {
    outline: none; /* Remove default outline */
    border-color: #4ADF86; /* Green border for invalid */
    box-shadow: 0 0 0 2px rgba(74, 223, 134, 0.2); /* Glow effect */
}

/* Hide numbers input spinners */
.control input[type="number"]::-webkit-inner-spin-button,
.control input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.control input[type="number"] {
    -moz-appearance: textfield;
}

/* Active state animation */
.control input:active {
    transform: scale(1.05);
}

/* Invalid state */
.control input:out-of-range {
    border-color: #EF4444; /* Red border for invalid */
    color: #EF4444;
}

/* Button Styling */
#password-btn{
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 30px;
}

/* Button hover state */
#password-btn:hover{
    background-color: #0ea97c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
}

/* Password display container */
.passwords-containers{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #2F3E53;
    padding-top: 20px;
}

.password-box{
    background-color: #273549;
    color: #4ADF86;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
    text-align: center;
    word-break: break-all;
    transition: background-color 0.3s, transform 0.2s;
}

.password-box:hover{
    cursor: pointer;
    background-color: #334155;
    transition: background-color 0.2s;
    transform: scale(1.03);
}

    
.copy-message {
    color: #34D399;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    display: none;
}

.copy-message.show {
    opacity: 1;
}

/* Entry animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}













    /* password-box
    border: 1px solid #4ADF86;
    background: linear-gradient(180deg, #273549, #1F2937);
    background-color: #273549;
    color: #4ADF86;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
    text-align: center;
    word-break: break-all;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);    */