/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Navigation */
nav {
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    justify-content: center;
    display: flex;
}

nav a {
    color: #000000;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #e1e1e1;
    text-decoration: none;
}

/* Main container */
.container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: 80%;
    max-width: 500px;
    margin: 100px auto 2rem auto;
}

/* Header styles */
.header {
    background-color: #e9ecef;
    border-radius: 8px 8px 0 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: -30px -30px 20px -30px;
}

.logo {
    height: 100px;
    width: auto;
    margin: 1rem 0;
}

/* Form styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #dee2e6;
    border-radius: 4px;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #38a93b;
}

.form-control {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="submit"] {
    background-color: #38a93b;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #38a93b;
}

/* Flash messages */
.flash-messages {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.flash-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    background-color: #38a93b;
    border: 1px solid #ffffff;
    color: #ffffff;
}

/* Loader animation */
#loader {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#loader:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loader:after {
    content: '';
    display: block;
    position: relative;
    top: calc(50% - 2.5em);
    left: calc(50% - 2.5em);
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 0.6em solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

.plans-container {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Aumentado el espacio entre columnas */
    width: 100%; /* Cambiado de 80% */
    max-width: 100%; /* Nuevo añadido */
    margin: 30px auto; /* Reducido margen vertical */
}
.plan {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

s {
    color: #a29f9f;
    font-size: 0.9em;
    margin-right: 5px;
}
.plan-header {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
}

.plan-description {
    flex-grow: 1; /* Hace que esta parte ocupe el espacio disponible */
    text-align: left;
}

.plan-button {
    background-color: #38a93b;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: auto;
    text-align: center;
    margin-top: 0px;
}

.plan-button:hover {
    background-color: #2f8c32;
}

/* Responsivo */
@media (max-width: 1100px) {
    .plans-container {
        flex-direction: column;
        width: 90%;
    }
}

.plan-features {
    list-style-type: disc;  /* Asegura que los bullets sean círculos */
    padding-left: 20px;  /* Espaciado normal */
    margin-left: 0;  /* Evita margen extra */
    text-align: left;  /* Asegura que el texto esté alineado a la izquierda */
}

.plan-features li {
    margin-bottom: 5px; /* Espaciado entre elementos */
}


.formlogin {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.form-group {
    flex: 1; 
    display: flex;
    flex-direction: column;
    padding: 5px;
}

label {
    margin-bottom: 0.5rem;
}

input {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="submit"] {
    margin-top: 1rem;
    background-color: #38a93b;
    color: white;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

input[type="submit"]:hover {
    background-color: #2f8c32;
}


.loading-circle {
    width: 60px;
    height: 60px;
    border: 4px solid lightgray;
    border-radius: 50%;
    border-top: 4px solid gray;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .loading-circle-fill {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    clip: rect(0, 60px, 60px, 30px);
    animation: fill 2s linear infinite;
  }
  
  @keyframes fill {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(180deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }


  /* Estilo para la sección de teléfono */
.phone-section {
    text-align: center;
    margin-bottom: 20px;
}

.phone-section h2 {
    font-size: 1.5em;
    font-weight: bold;
}

.phone-section p {
    font-size: 1em;
    margin-bottom: 10px;
}

.phone-section .form-group {
    display: inline-block;
    text-align: center;
    margin-top: 10px;
}

.phone-section label {
    display: block;
    margin-bottom: 5px;
}

.phone-section input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 0 auto;
    display: block;
}