/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
}

.header {
    width: 100%;
    height: 145px;
    background-image: url('../images/header-center.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  .pleca {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 928px;
    height: 121px;
    background-image: url('../images/pleca_mail4.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 5px;
  }

/* Estilos del formulario de login */
#page-wrap1 {
    width: 100%;
    /*! background-color: #f5f5f5; */
}

#page-wrap2 {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}

#page {
    width: 100%;
    padding: 20px;
}

#main-wrap {
    width: 100%;
}

#mid-content {
    padding: 20px;
}

.login-title {
    margin-bottom: 20px;
    display: block;
    padding-top: 25px;
}

.clear {
    clear: both;
}

.login-container {
    width: 928px;
    position: relative;
    min-height: 400px;
    margin: 0 auto;
}

.login-form {
    float: left;
    width: 500px;
    height: 360px;
}

.label-image {
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
}

h3 {
    margin: 8px 0 3px 0;
    font-size: 14px;
}

input, textarea {
    padding: .2em .4em;
}

input, textarea, select {
    font-family: 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    font-size: 100%;
    margin: .2em 0;
    width: 200px;
    background: transparent url('../images/input-bg.png') no-repeat left top;
}

.input-field {
    width: 225px;
    padding: 6px;
    border: 2px solid #484848;
    /*! border-radius: 4px; */
    font-size: 14px;
    margin-bottom: 5px;
    background: transparent url('../images/input-bg.png') no-repeat left top;
    height: 28px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.captcha-img {
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Estilos del captcha generado */
.captcha-generated {
    width: 80px;
    height: 25px;
    background: #000000;
    border: 2px solid #34495e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    user-select: none;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.captcha-generated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.05) 2px,
        rgba(255,255,255,0.05) 4px
    );
    pointer-events: none;
}

.captcha-generated:hover {
    background: #1a1a1a;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

.captcha-input {
    width: 45px;
    padding: 4px;
    border: 2px solid #575757;
    /*! border-radius: 4px; */
    font-size: 14px;
}

.button-container {
    margin-top: 12px;
}

.btn-aceptar {
    width: 213px;
    font-size: 14px;
    font-family: 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    background: #2E2E2E;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-aceptar:hover {
    background: #1a1a1a;
}

.forgot-link {
    color: #66CCFF;
    font-weight: bold;
    font-size: 9px;
    font-style: oblique;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

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

.advertisement {
    position: absolute;
    right: 0;
    top: 0;
    width: 515px;
    margin-right: 0;
}

.ad-image {
    width: 515px;
    height: 359px;
    border-radius: 4px;
}

.clearcontent {
    clear: both;
}

/* Footer */
#footer {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
}

.footer-spacer {
    width: 1000px;
    height: 50px;
    margin-top: -35px;
    font-family: arial;
}

.footer-ip {
    width: 1000px;
    height: 25px;
    text-align: center;
    color: #000000;
    /*! font-weight: bold; */
    font-family: Arial, sans-serif !important;
    font-size: 12px;
}

.footer-link {
    float: right;
    margin-top: -78px;
}

.footer-link a {
    color: #3d628f;
    text-decoration: underline;
    font-size: 13px;
}

.footer-link a:hover {
    text-decoration: none;
}

/* Estilos de bordes redondeados */
.round-corners {
    -moz-border-radius-topleft: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;	
}

/* Menu tabs */
.menu-tabs {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 928px;
    display: flex;
    align-items: flex-end;
}

.tab {
    padding: 8px 20px;
    background: #ffffff;
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    position: relative;
}

.tab.active {
    background: #ffffff;
    border: 1px solid #ccc;
    border-bottom: none;
    padding-bottom: 9px;
    margin-bottom: -1px;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
}
