
/**********************************************
 *                                         
 *   Estilos definidos por Juan              
 *   para el desarrollo de la aplicación      
 *                                         
 **********************************************/


 /* Comprehensive CSS Stylesheet Guide Similar to Bootstrap (Based on Variable Fonts) */

/* Color Variables */
:root {
    --primary-color: #1d2d2e;
    --secondary-color: #879ea0;
    --accent-color: #e79b40;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #fff;
    --dark-color: #879ea0;
    --border-radius: 9px;
    --border-color: #d5dddd;
}

/* Font Variables */
:root {
    --font-primary: "Helvetica Neue", Arial, sans-serif;
    --font-secondary: "Open Sans", Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
}

#slider-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

#slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 1;
    min-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.slide img {
    max-width: 100%;
    max-height: 70%;
    margin-bottom: 10px;
}

.slide p {
    font-size: 14px;
    width: 67%;
    margin: 0 auto;
}

#dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background-color: #e8eaeb;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.dot.active {
    background-color: var(--accent-color);
    width: 22px;
}

#login-container {
    flex: 0.8;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    position: fixed;
    left: 20px;
    top: 20px;
}

.logo img {
    width: 170px;
}

#login-form {
    width: 70%;
}

#login-form h1 {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-color);
}

#login-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    height: 47px;
    outline: none !important;
}

#login-form button {
    width: 100%;
    padding: 10px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    height: 47px;
    transition: all 0.3s ease-in-out;
    font-size: 17px;
    font-weight: 700;
}

#login-form button:hover {
    background-color: var(--primary-color);
}

#login-options {
    margin-top: 10px;
    text-align: center;
}

#login-options a {
    text-decoration: underline;
    color: var(--accent-color);
    font-weight: 600;
}

#login-options {
    width: 70%;
    font-weight: 300;
}

.password-container {
    position: relative;
}

.password-icon {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary-color);
    height: 100%;
    display: flex;
    align-items: center;
    width: 40px;
    justify-content: center;
    border-radius: 0px 9px 9px 0px;
    border-left: 1px solid var(--border-color);
}

.social {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider {
    height: 48px;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-right: 10px;
    color: #000;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 12px 24px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 17px;
}

.facebook {
    background-color: #1877f2;
    color: var(--light-color);
}

.google-icon {
    display: inline-block;
    height: 24px;
    width: 24px;
    background: url(google.svg);
}

.facebook-icon {
    display: inline-block;
    height: 24px;
    width: 24px;
    background: url(facebook.svg);
}

.or-divider {
    text-align: center;
    font-size: 14px;
}

.or-divider::before,
.or-divider::after {
    border-top: 1px solid #ccc;
    content: " ";
    display: inline-block;
    margin-top: 10px;
    vertical-align: middle;
    width: 36%;
}

.or-divider::before {
    float: left;
}

.or-divider::after {
    float: right;
}

* {
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.accent-color {
    color: var(--accent-color);
}
.primary-color {
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-family: var(--font-secondary);
}

.button.primary {
    background-color: var(--primary-color);
    color: #fff;
}

.button.secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.button.success {
    background-color: var(--success-color);
    color: #fff;
}

.button.danger {
    background-color: var(--danger-color);
    color: #fff;
}

.button.warning {
    background-color: var(--warning-color);
    color: #fff;
}

.button.info {
    background-color: var(--info-color);
    color: #fff;
}

/* Link */
a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Content Section */
.section {
    margin-bottom: 2rem;
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Flexbox */
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
}

/* Spans */
span {
    font-weight: bold;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-family: var(--font-secondary);
}

.form-check-label {
    font-weight: normal;
    font-family: var(--font-secondary);
}

.form-check {
    display: flex;
    align-items: center;
}

/* Form Button */
.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-secondary);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.alert-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.alert-success {
    background-color: var(--success-color);
    color: #fff;
}

.alert-danger {
    background-color: var(--danger-color);
    color: #fff;
}

.alert-warning {
    background-color: var(--warning-color);
    color: #fff;
}

.alert-info {
    background-color: var(--info-color);
    color: #fff;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table th {
    background-color: var(--light-color);
}

/* Typography Styles */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-muted {
    color: #6c757d;
}

.text-bold {
    font-weight: bold;
}
.text-center {
    text-align: center;
}

/* Button Groups */
.btn-group {
    display: inline-flex;
    vertical-align: middle;
}

.btn-group .button {
    margin-right: -1px;
    border-radius: 0;
}

.btn-group .button:first-child {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.btn-group .button:last-child {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Navbar */
.navbar {
    background-color: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    font-family: var(--font-secondary);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-right: 1rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
/* Tablets in Portrait Orientation */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0.5rem;
    }
    .section {
        margin-bottom: 1rem;
    }
}

/* Phones in Portrait Orientation */
@media (max-width: 767px) {
    .header {
        font-size: 1.5rem;
    }
    .container {
        max-width: 100%;
        padding: 0.5rem;
    }
}

/* Phones in Landscape Orientation */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }
    .section {
        margin-bottom: 1rem;
    }
}

/* Additional Styles */
/* Rounded Border Image Tags */
img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* Margin Spacing */
/* Margin */
.m-0 {
    margin: 0;
}

.mx-0 {
    margin-left: auto;
    margin-right: auto;
}

.my-0 {
    margin-top: auto;
    margin-bottom: auto;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* Padding */
.p-0 {
    padding: 0;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}
.mt-5 {
    margin-top: 2rem;
}

.mt-6 {
    margin-top: 2.5rem;
}
.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}
.mb-5 {
    margin-bottom: 2rem;
}
.mb-6 {
    margin-bottom: 2.5rem;
}

/* Padding Spacing */
.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Card Design */
.card {
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.card-img-top {
    width: 100%;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

/* Card Header */
.card-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

/* Card Text */
.card-text {
    margin-bottom: 1rem;
}

/* Card Button */
.card-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.card-button:hover {
    background-color: var(--secondary-color);
}

/* Card Footer */
.card-footer {
    background-color: var(--light-color);
    padding: 0.75rem 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Inline Form Labels */
.form-inline {
    display: flex;
    align-items: center;
}

.form-inline .form-group {
    margin-right: 1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: var(--border-radius);
}

.badge-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.badge-success {
    background-color: var(--success-color);
    color: #fff;
}

.badge-danger {
    background-color: var(--danger-color);
    color: #fff;
}

.badge-warning {
    background-color: var(--warning-color);
    color: #fff;
}

.badge-info {
    background-color: var(--info-color);
    color: #fff;
}

/* Progress Bar */
.progress {
    display: block;
    width: 100%;
    height: 1rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

/* Typography */
.display {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.1;
}

.display-1 {
    font-size: 6rem;
    font-weight: bold;
    line-height: 1.1;
}

.display-2 {
    font-size: 5.5rem;
    font-weight: bold;
    line-height: 1.1;
}

.display-3 {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1.1;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
}
.display-5 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.1;
}
.display-6 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.1;
}
.display-7 {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Alert Labels */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Typography Styles */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-muted {
    color: #6c757d;
}

.text-bold {
    font-weight: bold;
}

/* Button Groups */
.button-group {
    display: inline-flex;
    vertical-align: middle;
}

.button-group .button {
    margin-right: -1px;
    border-radius: 0;
}

.button-group .button:first-child {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.button-group .button:last-child {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}






/**********************************************
 * Media query para tabletas
 *
 *   Estilos para ajustar el diseño a dispositivos
 *   con un ancho de pantalla de entre 768 y 1024 píxeles.
 **********************************************/
 @media only screen and (min-width: 768px) and (max-width: 1024px) {
    /* Estilos para tabletas */
    #login-container{
        flex: 1;
    }
    .logo {
        position: relative;
        left: 0px;
        top: 0px;
        margin-bottom: 22px;
        margin-top: 22px;
    }
    #slider-container{
        display: none !important;
    }
    
  }
  
  /**********************************************
   * Media query para teléfonos
   *
   *   Estilos para ajustar el diseño a dispositivos
   *   con un ancho de pantalla de hasta 767 píxeles.
   **********************************************/
  @media only screen and (max-width: 767px) {
    /* Estilos para teléfonos */
    #login-container{
        flex: 1;
    }
     #login-container{
        flex: 1;
    }
    .logo {
        position: relative;
        left: 0px;
        top: 0px;
        margin-bottom: 22px;
        margin-top: 22px;
    }
    #login-form {
        width: 90%;
    }
    #login-options {
        width: 90%;
        font-weight: 300;
    }
  }
  