/* =================================================
   NAUKRIGULF AUTH / FORM PAGES — COMPLETE STYLESHEET
   ================================================= */

/* ---- AUTH PAGE WRAPPER ---- */
.ng-auth-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 50%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

/* ---- AUTH CARD ---- */
.ng-auth-card {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

/* ---- AUTH HEADER ---- */
.ng-auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.ng-auth-logo {
  margin: 0 auto 16px;
  display: block;
}
.ng-auth-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.ng-auth-header p {
  font-size: 13.5px;
  color: #64748b;
}

/* ---- FORM ELEMENTS ---- */
.ng-auth-form .ng-form-group,
.ng-form-group {
  margin-bottom: 18px;
}

.ng-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ng-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.ng-form-input,
.ng-form-select,
.ng-form-textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fafbfc;
  font-family: inherit;
  line-height: 1.5;
}
.ng-form-input:focus,
.ng-form-select:focus,
.ng-form-textarea:focus {
  border-color: #1e61db;
  box-shadow: 0 0 0 3px rgba(30,97,219,0.08);
  background: #fff;
}
.ng-form-input::placeholder,
.ng-form-textarea::placeholder {
  color: #94a3b8;
}
.ng-form-textarea {
  resize: vertical;
  min-height: 100px;
}
.ng-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* INPUT WITH ICON INSIDE */
.ng-input-icon-wrap {
  position: relative;
}
.ng-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.ng-input-icon-wrap .ng-form-input {
  padding-left: 38px;
}
.ng-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}
.ng-password-toggle:hover { color: #1e61db; }

/* ---- SUBMIT BUTTON ---- */
.ng-auth-submit {
  width: 100%;
  background: #1e61db;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.2px;
  margin-top: 8px;
}
.ng-auth-submit:hover {
  background: #1a56db;
}
.ng-auth-submit:active {
  transform: scale(0.99);
}

/* ---- DIVIDER ---- */
.ng-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 12px;
}
.ng-auth-divider::before,
.ng-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* ---- SOCIAL LOGIN BUTTONS ---- */
.ng-social-login {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ng-social-login-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.ng-social-login-btn:hover {
  border-color: #1e61db;
  background: #f0f5ff;
  text-decoration: none;
  color: #1e61db;
}

/* ---- FOOTER ---- */
.ng-auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
}
.ng-auth-footer a { color: #1e61db; font-weight: 600; }
.ng-auth-footer a:hover { text-decoration: underline; }

/* ---- ALERTS ---- */
.ng-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ng-alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ng-alert-info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e40af;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ---- TERMS CHECKBOX ---- */
.ng-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}
.ng-terms-check input[type="checkbox"] {
  accent-color: #1e61db;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ng-terms-check a { color: #1e61db; }

/* ---- FORGOT PASSWORD LINK ---- */
.ng-forgot-link {
  font-size: 12px;
  color: #1e61db;
  float: right;
  margin-top: -4px;
}
.ng-forgot-link:hover { text-decoration: underline; }

/* ---- CONTACT PAGE ---- */
.ng-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
}
.ng-contact-info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
}
.ng-contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.ng-contact-info-desc {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.6;
}
.ng-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ng-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ng-contact-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.ng-contact-item-val {
  font-size: 13px;
  color: #64748b;
}

/* ---- POST JOB PAGE ---- */
.ng-post-job-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.ng-section-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}
.ng-section-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .ng-auth-card {
    padding: 28px 24px;
  }
  .ng-form-row {
    grid-template-columns: 1fr;
  }
  .ng-contact-layout {
    grid-template-columns: 1fr;
  }
  .ng-social-login {
    flex-direction: column;
  }
}
