/* ========================================================================
   mypage_lab_info.css
   Styles for: mypage_lab_info, mypage_lab_password, mypage_lab_password_complete
   ======================================================================== */

/* ------------------------------------------------------------------
   Shared layout (mypage banner + sidebar + main content area)
   ------------------------------------------------------------------ */

/* Page banner area below header */
.mypage-banner {
    background-color: var(--color-static-white, #fff);
    border-bottom: 1px solid var(--color-neutral-300, #dde2eb);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 18px;
    box-sizing: border-box;
}

.mypage-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    height: 150px;
    padding: 36px 0;
    box-sizing: border-box;
}

.mypage-banner__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.mypage-banner__title {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: -0.32px;
    color: var(--color-neutral-900, #303342);
    margin: 0;
}

.mypage-banner__subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.16px;
    color: var(--color-primary-600, #4165ff);
    margin: 0;
}

.mypage-banner__right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    text-align: right;
    color: var(--color-neutral-700, #6c7286);
    line-height: 1.5;
}

.mypage-banner__org-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    margin: 0;
}

.mypage-banner__org-email {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.16px;
    margin: 0;
}

/* Content body (sidebar + main) */
.mypage-body {
    background-color: var(--color-neutral-100, #f2f6fa);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 28px 18px 80px;
    box-sizing: border-box;
    min-height: 500px;
}

.mypage-body__inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

/* Sidebar menu */
.mypage-sidebar {
    width: 282px;
    min-width: 282px;
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-300, #dde2eb);
    border-radius: 8px;
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.05);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
}

.mypage-sidebar__item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-neutral-900, #303342);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.mypage-sidebar__item:hover {
    background-color: var(--color-neutral-100, #f2f6fa);
}

.mypage-sidebar__item--active {
    font-weight: 700;
    color: var(--color-primary-600, #4165ff);
}

.mypage-sidebar__item--muted {
    color: var(--color-neutral-600, #949aac);
}

/* Main content card */
.mypage-main {
    flex: 1;
    min-width: 0;
}

.mypage-card {
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-300, #dde2eb);
    border-radius: 8px;
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mypage-card__header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--color-neutral-300, #dde2eb);
}

.mypage-card__header-title {
    flex: 1;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.16px;
    color: #484d5e;
    margin: 0;
}

.mypage-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    padding: 36px 40px 60px;
}


/* ------------------------------------------------------------------
   #mypage_lab_info  -- Account info / password change email verify
   ------------------------------------------------------------------ */

/* Info box (grey background notice) */
#mypage_lab_info .info-box {
    background-color: var(--color-neutral-100, #f2f6fa);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

#mypage_lab_info .info-box__text {
    flex: 1;
    min-width: 291px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.14px;
    color: #484d5e;
    margin: 0;
}

/* Input field group */
#mypage_lab_info .input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

#mypage_lab_info .input-field__label {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #1e1e1e;
    margin: 0;
}

#mypage_lab_info .input-field__input {
    width: 100%;
    min-width: 120px;
    padding: 12px 16px;
    background-color: var(--color-static-white, #fff);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #1e1e1e;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

#mypage_lab_info .input-field__input::placeholder {
    color: #b3b3b3;
}

#mypage_lab_info .input-field__input:focus {
    border-color: var(--color-primary-600, #4165ff);
}

/* Buttons */
#mypage_lab_info .btn-outline {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-300, #dde2eb);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.14px;
    color: var(--color-neutral-900, #303342);
    white-space: nowrap;
    transition: all 0.15s ease;
}

#mypage_lab_info .btn-outline:hover {
    background-color: var(--color-neutral-100, #f2f6fa);
}

#mypage_lab_info .btn-primary {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-color: var(--color-primary-600, #4165ff);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.14px;
    color: var(--color-static-white, #fff);
    white-space: nowrap;
    transition: all 0.15s ease;
}

#mypage_lab_info .btn-primary:hover {
    background-color: var(--color-primary-700, #2c48d9);
}

#mypage_lab_info .btn-dark {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-color: #102540;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.14px;
    color: var(--color-static-white, #fff);
    white-space: nowrap;
    transition: all 0.15s ease;
}

#mypage_lab_info .btn-dark:hover {
    opacity: 0.9;
}

/* Verification info section */
#mypage_lab_info .verify-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: -0.12px;
}

#mypage_lab_info .verify-info__timer-row {
    display: flex;
    gap: 4px;
    align-items: center;
    width: 100%;
    white-space: nowrap;
}

#mypage_lab_info .verify-info__timer-label {
    color: #484d5e;
}

#mypage_lab_info .verify-info__timer-value {
    color: #f13030;
}

#mypage_lab_info .verify-info__desc {
    color: var(--color-neutral-700, #6c7286);
    width: 100%;
    margin: 0;
}

#mypage_lab_info .verify-info__desc p {
    margin: 0;
}

/* Error state for verification code mismatch */
#mypage_lab_info .input-field__input--error {
    border-color: #900b09;
}

#mypage_lab_info .input-field__error {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #900b09;
    margin: 0;
    white-space: nowrap;
}

/* State visibility helpers */
#mypage_lab_info .state-step {
    display: none;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    width: 100%;
}

#mypage_lab_info .state-step--active {
    display: flex;
}


/* ------------------------------------------------------------------
   #mypage_lab_password  -- New password form
   ------------------------------------------------------------------ */

#mypage_lab_password .mypage-card__body {
    gap: 16px;
}

#mypage_lab_password .password-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

#mypage_lab_password .input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

#mypage_lab_password .input-field__label {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #1e1e1e;
    margin: 0;
}

#mypage_lab_password .input-field__input {
    width: 100%;
    min-width: 120px;
    padding: 12px 16px;
    background-color: var(--color-static-white, #fff);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #1e1e1e;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

#mypage_lab_password .input-field__input::placeholder {
    color: #b3b3b3;
}

#mypage_lab_password .input-field__input:focus {
    border-color: var(--color-primary-600, #4165ff);
}

#mypage_lab_password .input-field__input--error {
    border-color: #900b09;
}

#mypage_lab_password .input-field__error {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #900b09;
    margin: 0;
    white-space: nowrap;
}

#mypage_lab_password .btn-primary {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-color: var(--color-primary-600, #4165ff);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.14px;
    color: var(--color-static-white, #fff);
    white-space: nowrap;
    transition: all 0.15s ease;
}

#mypage_lab_password .btn-primary:hover {
    background-color: var(--color-primary-700, #2c48d9);
}


/* ------------------------------------------------------------------
   #mypage_lab_password_complete  -- Completion message
   ------------------------------------------------------------------ */

#mypage_lab_password_complete .mypage-card__body {
    align-items: center;
    justify-content: center;
    gap: 16px;
}

#mypage_lab_password_complete .complete-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#mypage_lab_password_complete .complete-message__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

#mypage_lab_password_complete .complete-message__icon {
    width: 56px;
    height: 56px;
}

#mypage_lab_password_complete .complete-message__icon img {
    width: 100%;
    height: 100%;
    display: block;
}

#mypage_lab_password_complete .complete-message__text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-neutral-900, #303342);
    text-align: center;
    white-space: nowrap;
}

#mypage_lab_password_complete .complete-message__text p {
    margin: 0;
}

#mypage_lab_password_complete .btn-outline {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-300, #dde2eb);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.14px;
    color: var(--color-neutral-900, #303342);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
}

#mypage_lab_password_complete .btn-outline:hover {
    background-color: var(--color-neutral-100, #f2f6fa);
}
