/*
 Theme Name:   University Child
 Description:  CactusThemes - University Child Theme
 Author:       CactusThemes
 Author URI:   http://cactusthemes.com
 Template:     university
 Version:      1.0.3
*/

/*styling for the login by sam*/

/* Remove WP default box styling */
body.login #login {
  all: unset;
}

/* Center the wrapper on the page */
body.login {
  background: #f5f5f5;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main wrapper: 20% smaller view + rounded + shadow */
.custom-login-wrapper {
  display: flex;
  width: 80%; /* 20% smaller than full width */
  max-width: 1000px;
  min-height: 80vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden; /* keep corners clean */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Left: Login column */
.custom-login-wrapper .login-column {
  flex: 1;
  background: #fff;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.custom-login-wrapper .login-column h2 {
  font-size: 2rem;
  color: #5a2d26;
  margin-bottom: 20px;
}

/* Right: Register column */
.custom-login-wrapper .register-column {
  flex: 1;
  background: #5a2d26;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-align: center;
}
.custom-login-wrapper .register-column h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.custom-login-wrapper .register-column p {
  margin-bottom: 20px;
}
.custom-login-wrapper .register-btn {
  background: #fff;
  color: #5a2d26;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}
.custom-login-wrapper .register-btn:hover {
  background: #f5f5f5;
}

/* WP form inside login column */
body.login form {
  width: 100% !important;
  margin: 0 !important;
}
body.login form input[type="text"],
body.login form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
body.login form .button-primary {
  width: 100%;
  padding: 12px 0;
  border-radius: 30px;
  background: #5a2d26;
  border-color: #5a2d26;
  font-size: 16px;
  color: #fff;
}

/* Remove default message area */
body.login #login > p.message {
  display: none !important;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .custom-login-wrapper {
    flex-direction: column;
    width: 90%;
    min-height: auto;
  }
  .custom-login-wrapper .login-column,
  .custom-login-wrapper .register-column {
    padding: 30px;
  }
}





/*sam's styling ends here*/

