@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Encode Sans', Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.title-black {
    color: #393939;
}

.title-cyan {
    color: #26B4BD;
}

.email-label {
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
    color: #393939;
    margin-bottom: 10px;
    display: block;
}

/* Container principal */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background-color: #f5f5f5;
	padding: 90px 20px 20px 20px;
	min-height: 100vh;
}

/* Placeholder para imagen */
.login-image-placeholder {
    width: 551px;
    height: 655px;
    background-color: #ff69b4;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Encode Sans', sans-serif;
}

/* Card principal */
.login-card {
    width: 549px;
    min-height: 655px;
    background: white;
    box-shadow: 0px 0px 20px rgba(32, 61, 124, 0.08);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

/* Contenido del card */
.login-content {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;

}

/* Header */
.login-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.login-image {
    width: 551px;
    height: 655px;
    border-radius: 24px;
    object-fit: cover;
}

.header-link {
    text-decoration: none;
    color: inherit;
}

.main-title {
    color: #393939;
    font-size: 34px;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.subtitle {
    color: #393939;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.form-title {
    color: #203E7C;
    font-size: 16px;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 10px;
}

/* Mensajes de error */
.error-container {
    text-align: center;
    margin-bottom: 20px;
}

.error-text {
    color: red;
    font-family: 'Encode Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
}

/* Inputs reorganizados */
.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group-half2 {
    flex: 1;
}

.input-group-full {
    width: 100%;
    margin-bottom: 20px;
}
.input-with-icon {
    position: relative;
}

.input-icon-doc {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #26B4BD;
    font-size: 16px;
    z-index: 2;
}

.input-icon-email {
    position: absolute;
    right: 25px;
    bottom: 20px;
    color: #26B4BD;
    font-size: 16px;
    z-index: 2;
}

.form-input-compact-with-icon, .form-input-full-with-icon {
    padding-right: 45px;
}
.form-select-compact {
    width: 114px;
    padding: 16px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 35px;
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
    background-color: white;
    color: #393939;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326B4BD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

.form-select-compact:focus {
    border-color: #26B4BD;
    box-shadow: 0 0 0 2px rgba(38, 180, 189, 0.1);
}

.form-input-compact {
    width: 100%;
    padding: 16px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 35px;
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
    background-color: white;
    color: #393939;
    outline: none;
}

.form-input-compact:focus {
    border-color: #26B4BD;
    box-shadow: 0 0 0 2px rgba(38, 180, 189, 0.1);
}

.form-input-compact::placeholder {
    color: #A1A1AA;
}

.form-input-full {
    width: 100%;
    padding: 16px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 35px;
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
    background-color: white;
    color: #393939;
    outline: none;
}

.form-input-full:focus {
    border-color: #26B4BD;
    box-shadow: 0 0 0 2px rgba(38, 180, 189, 0.1);
}

.form-input-full::placeholder {
    color: #A1A1AA;
}

/* Botón */
.button-container {
    text-align: left;
    margin: 30px 0 20px 0;
}

.validate-button {
    width: 154px;
    height: 55px;
    padding: 16px;
    background: #26B4BD;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Encode Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.validate-button:hover {
    background: #239aa1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 180, 189, 0.3);
}

/* Links adicionales */
.additional-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-text {
    color: #203E7C;
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    line-height: 24px;
}

.link-text:hover {
    color: #26B4BD;
}

.divider-new {
    width: 100%;
    height: 1px;
    background: #D9D9D9;
    margin: 10px 0;
}

.signup-section {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .login-container {
        gap: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
    }
}

@media (max-width: 1600px) and (min-width: 1200px) {
	.login-image {
	    width: 420px;
	    height: 529px;
	}
	.login-card {
	    width: 420px;
	    min-height: 500px;
	}
	.main-title {
		font-size: 28px;
	}
	.subtitle {
		font-size: 14px;
	}
	.divider-new, .email-label {
		display: none;
	}
	.button-container {
		margin: 0px;
	}
    .login-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        padding: 20px;
    }
    
    .login-image {
        display: none;
    }
    
    .login-card {
        width: 100%;
        max-width: 400px;
        margin-top: 60px;
        padding: 30px 20px;
    }
    
    .validate-button {
        width: 100%;
    }

    .input-row {
        flex-direction: column;
        gap: 15px;
    }
}

