/* /ptc/css/pages/auth.css */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    min-height: 60vh;
}

/* uiverse.io Inspired Form Card */
.auth-card {
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e7ff;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #555;
}

/* uiverse.io Inspired Input Fields */
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input {
    border: solid 1.5px #D1D5DB;
    border-radius: 1rem;
    background: none;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif; /* Added font */
    color: #222;
    width: 100%;
    transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}

.user-label {
    position: absolute;
    left: 15px;
    color: #9CA3AF;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input:focus {
    outline: none;
    border: 1.5px solid var(--primary-color);
}

/* --- Updated selector to keep label floated --- */
.input:focus ~ .user-label,
.input:not(:placeholder-shown) ~ .user-label {
    transform: translateY(-50%) scale(0.8);
    background-color: #fff;
    padding: 0 .2em;
    color: var(--primary-color);
}


/* --- Error Styles --- */
.input.is-invalid {
    border-color: var(--danger-color);
}

.input.is-invalid ~ .user-label,
.input.is-invalid:not(:placeholder-shown) ~ .user-label {
    color: var(--danger-color);
}

.invalid-feedback {
    color: var(--danger-color);
    padding-left: 1rem;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}


/* uiverse.io Inspired Submit Button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(to right, var(--primary-color-hover), var(--primary-color));
  color: white;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 117, 252, 0.3);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- Banner Styling --- */
.auth-banner {
    margin-bottom: 1.5rem; /* Space below the banner */
    margin-top: 1rem; /* Space above the banner */
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-end; /* Align banner to the right */
    padding-right: 10%; /* Add some padding from the right edge */
}

/* --- Optional: Limit banner width --- */
.auth-banner > div { /* Target the direct child div (likely the one from displayBanner) */
    max-width: 300px; /* Ensure banner doesn't get too wide */
    width: 100%;
}