/* URF = User Registration Form */

.URF_section {
    /* Main container for the form, centered with green glow */
    padding: 80px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    margin: 30px auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 0 20px #8dc63f;
}

.URF_title {
    /* Title of the form */
    font-size: 2em;
    color: #8dc63f;
    margin-bottom: 10px;
}

.URF_note {
    /* Short note under the title */
    font-size: 1em;
    color: #ccc;
    margin-bottom: 30px;
}

.URF_form {
    /* Structure of the form */
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.URF_group {
    /* Each field group (label + input) */
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.URF_label {
    /* Label for each input */
    color: #eee;
    margin-bottom: 5px;
    font-size: 1.1em; /* 🔼 Increased from 0.95em for better readability */
}

.URF_input {
    /* Text fields styling */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #222;
    color: #fff;
    font-size: 1.15em; /* 🔼 Increased from 1em for better readability */
}

.URF_input:focus {
    /* Highlight border on focus */
    border-color: #8dc63f;
    outline: none;
}

.URF_checkbox_group {
    /* Layout for checkbox and label */
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.URF_checkbox_label {
    /* Label next to checkbox */
    color: #ccc;
    font-size: 0.9em;
}

.URF_button {
    /* Submit button */
    background-color: #8dc63f;
    color: #000;
    padding: 12px 36px;
    font-size: 1.15em; /* 🔼 Increased from 1em to match inputs */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.URF_button:hover {
    /* Button color on hover */
    background-color: #76b835;
}

/* ⚙️ Extend password input full-width to torch */
.URF_password_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 420px;
    width: 100%;
}

/* 🔦 Torch icon button beside password input */
.URF_password_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 420px;
    width: 100%;
}

.URF_torch {
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1em;
    color: white;
    user-select: none;
    transition: color 0.3s ease;
}

/* 🎯 DEFAULT STATE: Torch points LEFT (toward the password box) */
.URF_torch .torch-icon.torch-left {
    transform: scaleX(-1); /* Flipped to point left */
    font-size: 1.1em;
    margin-right: 4px;
    transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

/* 🔁 ACTIVE STATE: Torch points RIGHT (still toward input box) and glows */
.URF_torch.active .torch-icon.torch-left {
    transform: scaleX(1) scale(1.3); /* Grows and unflips to point right */
    color: orange;
}

/* 🧍 Torch label stays consistent */
.URF_torch .torch-text {
    font-size: 1em;
    transition: color 0.3s ease;
}

/* 🔶 Label glows orange when active */
.URF_torch.active .torch-text {
    color: orange;
}

/* 💡 Password input glows orange when visible */
.URF_input.glow {
    box-shadow: 0 0 12px 3px orange;
    transition: box-shadow 0.3s ease-in-out;
}

    
/* 🔧 Base style for all reCAPTCHA alert messages */
/* ⚠️ Warning: reCAPTCHA not checked */
.URF_error_unchecked {
  font-weight: bold;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  background-color: #111111;     /* Match form background */
  font-size: 1.05em;
  border-left: 5px solid yellow;  /* Yellow */
  color: yellow;
  box-shadow: 0 0 12px 3px yellow;
}

/* 🚫 Error: reCAPTCHA verification failed */
.URF_error_failed {
  font-weight: bold;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  background-color: #111111;     /* Match form background */
  font-size: 1.05em;
  border-left: 5px solid red;  /* Red */
  color: red;
  box-shadow: 0 0 12px 3px red;    
}

/* ✅ Fix policy link visibility inside checkbox label */
.URF_checkbox_label a:link,
.URF_checkbox_label a:visited {
  color: #8dc63f;        /* Match lime green theme */
  text-decoration: underline;
}

.URF_checkbox_label a:hover {
  color: #c1f15e;        /* Brighten on hover */
  text-decoration: none;
}
