.login {
    margin-top: 32px;
    width: 30%;
    min-width: 400px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media only screen and (max-width: 768px) {
    .login {
        width: 90%;
        min-width: 300px;
        margin: 20px auto;
    }
    
    .device {
        margin: 20px 0;
    }
    
    ul.browserList {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    ul.browserList li {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
    
    ul.browserList li a img {
        height: 35px;
    }
}

@media only screen and (max-width: 480px) {
    .login {
        width: 95%;
        min-width: 280px;
        margin: 10px auto;
    }
    
    ul.browserList li a img {
        height: 30px;
    }
    
    ul.browserList li span {
        font-size: 60%;
    }
}

/* Body styling for better login experience */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

/* Card styling improvements */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

/* Form styling improvements */
.form-control {
    margin-bottom: 1rem;
}

.form-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-control input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Button styling */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Device selection improvements */
.device {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.device ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.device li {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.device li:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.device li.selected {
    background: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.device li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.device li img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.device li span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.device li.selected span {
    color: #007bff;
}