@charset "utf-8";
/**
 * Entry
 *
 * create: 2025-09-25
 * update: 2025-12-10
 *
 * @package     yonde
 * @author      ik
 * @copyright   Copyright (c) 2025 , NetReal
 * @version     yonde 1.00
 */
/* ==========================================
   Login Page
   ========================================== */
.login-page {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 448px;
}

.login-brand {
    text-align: center;
}

.login-brand-icon {
    font-size: 2rem;
    color: var(--color-primary-green);
}

.login-brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary-green);
}

.login-card {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.login-card .card-header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    margin: 0;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
}

.forgot-password-link {
    color: var(--color-primary-green);
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-password-link:hover {
    opacity: 0.8;
}

.register-link {
    color: #389a6e !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
}

.register-link:hover {
    opacity: 0.8;
    color: #389a6e !important;
}

.register-link:visited {
    color: #389a6e !important;
}

a.register-link {
    color: #389a6e !important;
}

.btn-login-submit {
    background-color: var(--color-primary-green);
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-login-submit:hover {
    background-color: #2c7d5a;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #d1d5db;
}

.login-divider span {
    position: relative;
    background-color: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.signup-text {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
}

.signup-link {
    color: var(--color-primary-green);
    font-weight: 500;
    text-decoration: none;
}

.signup-link:hover {
    opacity: 0.8;
}

.back-home-link {
    color: #4b5563;
    font-size: 0.875rem;
    text-decoration: none;
}

.back-home-link:hover {
    color: #1f2937;
}

/* ==========================================
   Additional Login Components
   ========================================== */

/* Admin Link */
.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: white;
    color: #4b5563;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   Logo Image
   ========================================== */
.logo-img {
    max-height: 60px;
    height: auto;
    width: auto;
}

/* ==========================================
   User Selection List
   ========================================== */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-card:hover {
    background-color: #f3f4f6;
    border-color: var(--color-primary-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-green);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.user-arrow {
    display: flex;
    align-items: center;
    color: var(--color-primary-green);
    font-size: 1.5rem;
    margin-left: 1rem;
}

/* ==========================================
   User Info Display
   ========================================== */
.user-info-display {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.user-info-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}
