/* Archivo: styles.css - Actualizado con estética Scrum Manager */

/* Ocultar contenido principal hasta la verificación de la cookie */
.container {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px;
    background-color: #f5f7fa;
    color: #454545;
}

/* Estilos generales */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

header .logo {
    max-width: 150px;
}

#info-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

#info-icon .acerca {
    font-size: 0.8em;
    color: #3C72B4;
    text-decoration: none;
}

#info-icon .acerca:hover {
    text-decoration: underline;
}

   /* Icono de información y de configuración */
    #info-icon .icono-i,
    #info-icon .icono-config {
      text-decoration: none;
      display: inline-block;
      width: 24px;
      height: 24px;
      background-color: #666;
      color: #fff;
      text-align: center;
      line-height: 24px;
      border-radius: 50%;
      font-weight: bold;
      font-family: Arial, sans-serif;
      cursor: pointer;
    }
    #info-icon .icono-i:hover,
    #info-icon .icono-config:hover {
      background-color: #333;
    }
    
h1 {
    text-align: center;
    margin: 10px 0;
    color: #536B8A;
    font-weight: 500;
}

h2 {
    color: #536B8A;
    font-weight: 500;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

table, th, td {
    border: 1px solid #e1e7ef;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}

th {
    background-color: #f0f5fc;
    color: #536B8A;
    font-weight: 500;
}

td[contenteditable="true"] {
    background-color: #f8fbff;
    outline: none;
    border-bottom: 1px solid #cad7e8;
}

footer {
    text-align: center;
    font-size: 0.8em;
    margin-top: 40px;
    color: #6C89A8;
    padding: 15px 0;
}

footer a {
    color: #3C72B4;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Estilos de las secciones */
.intro {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.instructions {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.problem-container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.settings {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.setting-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

button {
    background-color: #3C72B4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #225996;
}

button:disabled {
    background-color: #d0d9e5;
    color: #8da1bd;
    cursor: not-allowed;
}

select, input {
    padding: 8px 10px;
    border: 1px solid #cad7e8;
    border-radius: 4px;
    font-size: 14px;
    color: #454545;
    background-color: #fff;
}

select:focus, input:focus {
    border-color: #3C72B4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(60, 114, 180, 0.2);
}

.original-problem {
    background-color: #f8fbff;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    border: 1px solid #e1e7ef;
}

.problem-text {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    color: #454545;
}

.perspective-container {
    margin-top: 30px;
}

.perspective {
    background-color: #f8fbff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #e1e7ef;
}

.perspective h3 {
    margin-top: 0;
    color: #3C72B4;
    font-weight: 500;
}

.perspective p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.reformulation {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #cad7e8;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin-top: 10px;
    resize: vertical;
}

.reformulation:focus {
    border-color: #3C72B4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(60, 114, 180, 0.2);
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

#exportBtn {
    background-color: #3C8C58;
}

#exportBtn:hover {
    background-color: #2A6B40;
}

#resetBtn {
    background-color: #d9534f;
}

#resetBtn:hover {
    background-color: #c9302c;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .settings {
        flex-direction: column;
        align-items: center;
    }
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #e1e7ef;
    width: 80%;
    max-width: 700px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
    color: #6C89A8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 0.8;
}

.close:hover,
.close:focus {
    color: #3C72B4;
    text-decoration: none;
}

.modal h2 {
    color: #3C72B4;
    margin-top: 0;
    font-weight: 500;
}

.modal h3 {
    color: #536B8A;
    font-weight: 500;
}

.modal ol {
    padding-left: 20px;
}

.modal li {
    margin-bottom: 10px;
    line-height: 1.5;
}


/* Estilos para los iconos sociales */
.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: #6C89A8;
    transition: fill 0.2s ease;
}

.social-icon:hover {
    fill: #3C72B4;
}

/* Colores específicos para iconos sociales */
.social-icon.facebook:hover {
    fill: #1877F2;
}

.social-icon.x:hover {
    fill: #000000;
}

.social-icon.linkedin:hover {
    fill: #0A66C2;
}

.social-icon.whatsapp:hover {
    fill: #25D366;
}

.social-icon.email:hover {
    fill: #EA4335;
}
