/**
 * Theme Name:     Freeio Child
 * Author:         Silas
 * Template:       freeio
 * Text Domain:	   freeio-child
 * Description:    Child Theme of Freeio
 * Version:        1.0
 */

/* Ensure footer is always at bottom regardless of page content height*/
body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

div[data-elementor-type="wp-page"] {
  flex-grow: 1;
}

/* Remove default bottom margin in parent theme*/
@media (min-width: 992px) {
  body.footer-default {
    margin-bottom: 0px !important;
  }
}

/* Google social buttons*/
.nsl-container-buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/*User Dashboard Side Bar remove unnecessary margins*/
.user-short-profile-top {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 16px;
}

@media (min-width: 1200px) {
  .user-short-profile-top {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 16px;
  }
}

/* User profile header styling*/
.user-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.user-profile-image {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.user-profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-info a {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: black;
}

.user-info a:hover {
  color: var(--e-global-color-primary);
}

/*Reset password page*/
.reset-password-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.reset-password-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.reset-password-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.reset-password-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.reset-password-container button {
  width: 100%;
  padding: 10px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.reset-password-container button:hover {
  background: #005177;
}

.error {
  color: red;
  margin-bottom: 15px;
}