* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.browser-frame {
    width: 90%;
    max-width: 1000px;
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.back-button:active {
    transform: translateY(0);
}

.back-button i {
    font-size: 12px;
}

.fas.fa-arrow-left:before { 
    content: "←"; 
}

.browser-header {
    background-color: #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.browser-controls {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.browser-address-bar {
    flex: 1;
    background-color: #2a2a2a;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lock-icon {
    font-size: 10px;
}

.browser-actions {
    margin-left: 15px;
    display: flex;
    gap: 10px;
}

.action {
    width: 16px;
    height: 16px;
    background-color: #444;
    border-radius: 50%;
}

.container {
    display: flex;
    height: 600px;
}

.left-panel {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(1,46,64,1) 10%, rgba(1,28,38,1) 50%, rgba(0,8,13,1) 100%);
    opacity: 0.8;
}

.left-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
}

.logo i {
    font-size: 24px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fafafa;
}

.welcome {
    margin-bottom: 40px;
}

.welcome h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.welcome p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.feature-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.right-panel {
    width: 60%;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 24px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-btn:hover {
    background-color: #222;
}

.icon {
    font-size: 14px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #666;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #333;
}

.divider span {
    padding: 0 10px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    border: none;
    background-color: #222;
    color: white;
    font-size: 14px;
}

input::placeholder {
    color: #666;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.eye-icon {
    font-size: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.recordarme {
    margin: auto;
}

.forgot-password {
    color: #fff;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: #fafafa;
    border: 1px solid #ffffff61;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transition: 0.6s;
}

.login-btn:hover {
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 10px #a5a8b448;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #a5a8b446;
}

.signup-link {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #aaa;
}

.signup-link a {
    color: #fff;
    text-decoration: none;
}

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

.error-message {
    color: #ff5f56;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    
    .left-panel, .right-panel {
        width: 100%;
    }
    
    .left-panel {
        min-height: 300px;
    }
    
    .gradient-bg {
        border-radius: 0;
        margin: 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}