body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.auth-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: transparent; 
}
.auth-container {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 450px;
  border-top: 4px solid var(--primary);
}
.auth-container.register-container {
  max-width: 550px;
}
.auth-header {
  text-align: center;
}
.auth-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--black);
}
.auth-header p {
  margin: 0 0 24px;
  color: var(--gray);
  font-size: 16px;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--gray);
}
.input-with-icon {
  position: relative;
}
.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}
.form-control {
  width: 100%;
  padding: 12px 12px 12px 45px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: 'Titillium Web', sans-serif;
  box-sizing: border-box;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2);
}
.btn-auth {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-auth:hover {
  background: var(--primary-dark);
}
.btn-register {
  background: #28a745;
}
.btn-register:hover {
  background: #218838;
}
.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}
.remember-me {
  display: flex;
  align-items: center;
}
.remember-me input {
  margin-right: 6px;
}
.forgot-password,
.terms-link,
.login-link a,
.back-to-login a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.forgot-password:hover,
.terms-link:hover,
.login-link a:hover,
.back-to-login a:hover {
  text-decoration: underline;
}
.register-link,
.login-link,
.back-to-login {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  color: var(--gray);
}
.back-to-login i {
  margin-right: 8px;
}
.terms-container {
  display: flex;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 14px;
}
.terms-container input {
  margin-right: 8px;
  margin-top: 4px;
}
.social-login {
  text-align: center;
  margin: 20px 0;
  color: var(--gray);
  font-size: 14px;
  position: relative;
}
.social-login::before,
.social-login::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #ddd;
}
.social-login::before { left: 0; }
.social-login::after { right: 0; }
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.social-btn.facebook { color: #3b5998; }
.social-btn.google { color: #db4437; }
.social-btn.apple { color: #000000; }
.recovery-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: transparent;
}
.recovery-container {
  max-width: 500px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 20px;
  position: relative;
  border-top: none; 
}
.recovery-header {
  background: var(--primary);
  color: var(--white);
  padding: 25px;
  text-align: center;
  position: relative;
}
.recovery-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  z-index: 1;
}
.recovery-header::before {
  content: '\f084';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: var(--primary);
  z-index: 2;
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recovery-header h2 {
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 700;
  position: relative;
  z-index: 3;
}
.recovery-header p {
  font-size: 14px;
  opacity: 0.9;
  position: relative;
  z-index: 3;
}
.recovery-form {
  padding: 50px 30px 30px;
  position: relative;
  z-index: 2;
}
.recovery-instructions {
  text-align: center;
  margin-bottom: 30px;
  color: var(--gray);
  font-size: 15px;
}
.recovery-form .form-control {
  padding: 14px 15px 14px 45px;
}
.recovery-form .form-control:focus {
  box-shadow: 0 0 0 2px rgba(255, 119, 0, 0.2);
}
.recovery-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255, 119, 0, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.recovery-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 119, 0, 0.4);
}
.recovery-btn:active {
  transform: translateY(0);
}
.recovery-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}
.recovery-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}
@keyframes ripple {
  0% { transform: scale(0, 0); opacity: 0.5; }
  100% { transform: scale(20, 20); opacity: 0; }
}
.error-message {
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
  text-align: left;
  border: 1px solid;
  background: #ffebee;
  color: #d32f2f;
  border-color: #d32f2f;
}
.success-message {
  text-align: center;
  padding: 50px 30px 30px; 
  background-color: #f0f9eb;
  border-top: 1px solid #e0e0e0;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.success-icon {
  font-size: 60px;
  color: #28a745; 
  margin-bottom: 20px;
}
.success-message h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--black);
  font-weight: 700; 
}
.success-message p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 16px;
}
.success-message .recovery-btn {
    margin-top: 10px; 
}
/* Estilo final para el botón de Google en Cell Market Shop */
.social-buttons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.social-btn.google-circle {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 50%; /* Hace el círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12); /* Sombra suave como en tu imagen */
    border: 1px solid #f1f1f1;
    transition: all 0.3s ease;
    padding: 0;
}

.social-btn.google-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.social-btn.google-circle img {
    width: 24px; /* Tamaño exacto de la "G" */
    height: 24px;
    display: block;
}