* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.verification-form {
    background: rgba(45, 55, 72, 0.9);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #a0aec0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 32, 44, 0.8);
    border: 2px solid rgba(66, 153, 225, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    background: rgba(26, 32, 44, 1);
}

input[type="text"].valid {
    border-color: #48bb78 !important;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

input[type="text"].invalid {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

input[type="text"]::placeholder {
    color: #718096;
}

.character-count {
    font-size: 11px;
    color: #718096;
    margin-top: 5px;
    text-align: right;
    transition: color 0.3s ease;
}

.character-count.warning {
    color: #ed8936;
}

.character-count.error {
    color: #e53e3e;
}

.helper-text {
    font-size: 12px;
    color: #718096;
    margin-top: 8px;
    line-height: 1.4;
    text-align: left;
    transition: all 0.3s ease;
}

.helper-text.error {
    color: #e53e3e;
    animation: shakeError 0.5s ease-in-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.verify-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.verify-button:hover {
    background: linear-gradient(135deg, #38a169, #2f855a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.verify-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.2);
}

/* Password field styles - Updated to match account name input */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(26, 32, 44, 0.8);
    border: 2px solid rgba(66, 153, 225, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: normal;
}

.password-container input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    background: rgba(26, 32, 44, 1);
}

.password-container input.valid {
    border-color: #48bb78 !important;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.password-container input.invalid {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.password-container input::placeholder {
    color: #718096;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: #4299e1;
    background: rgba(66, 153, 225, 0.1);
}

.toggle-password:active {
    transform: scale(0.95);
}

.eye-icon {
    display: inline-block;
    transition: all 0.2s ease;
}

/* Remove duplicate input[type="password"] styling */
input[type="password"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    letter-spacing: 1px;
}

/* Remove password strength indicator styles since we don't use them */

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .verification-form {
        padding: 30px 25px;
    }
    
    h1 {
        font-size: 22px;
    }
}

/* Animation for form appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-form {
    animation: fadeInUp 0.6s ease-out;
}