.register-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.register-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.register-card h2 {
    color: #fff;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Password Section Styling */
.password-group {
    margin-bottom: 2rem;
}

.password-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-input-container {
    position: relative;
    flex: 1;
}

.password-input-container input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #e2e8f0;
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    color: #4f46e5;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-1px);
}

/* Strength Meter */
.password-strength {
    margin-top: 1rem;
}

.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.meter-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Requirements */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.requirement i {
    color: #94a3b8;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.requirement.valid i {
    color: #10b981;
    opacity: 1;
}

.requirement.valid {
    color: #e2e8f0;
}

/* Submit Button */
.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #4f46e5;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:not(:disabled):hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #475569;
    cursor: not-allowed;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
}

.login-link a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.password-match {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.btn-primary:disabled {
    background-color: rgba(79, 70, 229, 0.5);
    cursor: not-allowed;
}