/* ----------------------- LOGIN ------------------------ */
/* Base Variables inspired by the reference image */
:root {
  --color-gold: #c39d38;
  --color-gold-hover: #b08d32;
  --color-text-dark: #2d3748;
  --color-text-muted: #718096;
  --color-input-bg: #eff3fa;
  --color-input-border: #dbe4f0;
  --color-white: #ffffff;
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.05);
  --radius-lg: 12px;
  --radius-md: 8px;
}

/* Wrapper to isolate styles from the MasterPage */
.lms-page-wrapper {
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Branding Header */
.brand-heading {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.brand-title {
  color: var(--color-text-dark);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.text-gold {
  color: var(--color-gold);
}

/* Layout Grid */
.lms-content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.lms-left-col,
.lms-right-col {
  flex: 1;
  min-width: 320px;
}

/* Cards */
.login-card,
.docs-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.login-title,
.docs-title {
  color: var(--color-text-dark);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
}

.docs-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #5a6b82;
  margin-bottom: 8px;
}

.lms-input {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text-dark);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.lms-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(195, 157, 56, 0.15);
}

.forgot-pass-container {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-pass-link {
  color: var(--color-text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-pass-link:hover {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.val-error {
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

/* Button */
.lms-btn {
  width: 100%;
  background-color: var(--color-gold);
  color: var(--color-white);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.lms-btn:hover {
  background-color: var(--color-gold-hover);
}

.lms-btn:active {
  transform: scale(0.98);
}

.register-link {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.register-link a {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Document Links List */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.doc-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.doc-item:hover {
  background-color: var(--color-white);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.doc-icon {
  font-size: 24px;
  margin-right: 15px;
}

.doc-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.doc-name {
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.doc-desc {
  color: var(--color-text-muted);
  font-size: 12px;
}

.doc-arrow {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 18px;
}

/* Responsive adjust for mobile */
@media (max-width: 768px) {
  .lms-content-grid {
    flex-direction: column;
  }
  .login-card,
  .docs-card {
    padding: 25px;
  }
}
/* ----------------------- LOGIN END ------------------------ */


/* ----------------------- LOGOUT ------------------------ */
.logout-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 20px;
}

.logout-card {
  background: #ffffff;
  max-width: 450px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 5px solid #102039; /* GNDU dark blue */
}

.check-circle {
  width: 60px;
  height: 60px;
  background-color: #e8f5e9;
  color: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px auto;
}

.logout-title {
  color: #102039;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.logout-text {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-return {
  background-color: #0d6efd;
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-return:hover {
  background-color: #0b5ed7;
  color: white;
  text-decoration: none;
}
/* ----------------------- LOGOUT END ------------------------ */
