/*! -------------------------------------------------
Theme Name: Xamle Theme 1.0
Theme URI: http://www.penkode.com/
Description: Penkode Framework WordPress theme. You can create a child theme, but it's not necesary. You can create your theme through the SASS files included for build your WordPress site. Created by Paulo Ramalho.
Author: Paulo Ramalho (wwww.penkode.com)
Author web: www.penkode.com
Author URI: www.penkode.com
Version: 2.8
.
For exclusive use of Penkode clients.
.
----------------------------------------------*/


/*********************************************************
/*
/*                    DASHBOARD
/*
/*********************************************************/
.wp-admin .box-colaborador {
  background-color: #fff;
  padding: 40px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
}

.wp-admin .box-colaborador p {
    font-size: 1.1em;
    margin:0;
}

.wp-admin .volver-listado {
    margin-top: 20px;
}

span.total-puntos {
  display: inline-flex;          /* ensure box behavior */
  align-items: center;           /* vertical center */
  justify-content: center;       /* horizontal center */
  width: 36px;
  height: 36px;
  background-color: #fff;
  color: rgb(61, 61, 61);
  font-weight: 600;;
  border-radius: 50%;            /* perfect circle */
}


.wp-admin .resultado-encuesta {
  background-color: rgb(61, 61, 61);
  color: #fff;
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: -1px -1px 25px -2px rgba(0, 0, 0, 0.23);
}

.wp-admin .resultado-encuesta h2 {
  font-size: 2em;
  color: #fff;
  background-color: rgb(61, 61, 61);
  margin: 0;
}

.val-detail {
  background-color: #efefef;
  font-size: 14px;
  border: 2px solid #c7c7c7;
}


/*
----------------------------
    @LOGIN PAGE  
----------------------------
*/

#header,
#headerimg,
#headerimg h1,
hr {
  display: none !important;
}


body.page-template-login {
  background-color: #E2E2DA;
}

.page-template-login #grid-login {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-template-login #logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 70px auto 0 auto;
}


.page-template-login #logo-container img {
  max-width: 160px;
}

.page-template-login input {
  width: -webkit-fill-available !important;
}

form#loginform {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px auto;
  max-width: 600px;
}

form#loginform .alert-warning {
  font-size: 1em;
  display: flex;
  color: red;
  background: #ffe69c;
  margin-bottom: 12px;
  padding: 18px;
  width: 100%;
}


.login-options-container {
  display: flex;
}

.show-pass,
.remind-pass,
.login-options-container p {
  margin: 0 0 0 12px;
  font-size: 0.9em;
}

span.opt-sep {
  margin-left: 10px;
}

#loginform #error-message {
  display: flex;
  padding: 20px;
  margin-bottom: 22px;
  background: rgb(255, 233, 136);
  justify-content: center;
}

p.submit {
  display: flex;
  justify-content: center;
}

.page-template-login header,
.page-template-login footer {
  display: none;
}

.login-remember,
.login-submit,
.page-template-login #MainContainer,
.page-template-login article {
  display: flex;
  justify-content: center;
}

p.login-remember {
  line-height: normal;
  margin: 0;
}

.login-username > label,
.login-password > label {
  display: block;
}

.logged-in main p a {
  margin: 20px auto;
  width: 250px;
}

.login-text {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 46px;  
}

.login-text a:hover {
  color:#536cf0;
}



/*
----------------------------
    @BUTTONS AND INPUTS
----------------------------
*/
:root {
  --primary: #313131; /* Indigo 600 */
  --primary-hover: #535353;
  --gray-light: #f3f4f6;
  --gray: #d1d5db;
  --gray-dark: #6b7280;
  --radius: 8px;
}

/* Inputs y textarea */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  color: #111827;
  /*background-color: var(--gray-light);*/
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
  background-color: white;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-dark);
}

/* Botones */
button,
input[type="submit"] {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  background-color: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-hover);
}

button:active,
input[type="submit"]:active {
  transform: scale(0.98);
}


/******************* CAMPOS ÁMBITOS **********************/

.niveles {
  font-size: 1.2em;
  font-weight: 600;
  background-color: rgb(243, 255, 174);
  padding: 12px;
}