/* guna_milan.css - shared styles for guna-milan.php and guna-milan-b.php */

.gm-form { background: #fffaf0; border: 1px solid #e8d5a8; border-radius: 12px; padding: 16px; margin-top: 14px; }
.gm-form label { display: block; font-weight: bold; margin-top: 10px; }
.gm-form input, .gm-form select { width: 100%; max-width: 420px; box-sizing: border-box; padding: 9px; border-radius: 8px; border: 1px solid #ccc; font-size: 16px; }
.gm-form input[readonly] { background: #f3eee2; color: #555; }
.gm-form .gm-note { font-size: 14px; color: #6b5a40; margin-top: 6px; }
.gm-btn, .gm-submit { display: inline-block; background: #b8860b; color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-weight: bold; font-size: 15px; cursor: pointer; margin: 10px 8px 0 0; text-decoration: none; }
.gm-btn:hover, .gm-submit:hover { background: #a0522d; color: #fff; text-decoration: none; }
.gm-btn:disabled, .gm-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.gm-btn.quiet { background: #fff; color: #a0522d; border: 1px solid #e8d5a8; }
.gm-error { display: none; margin-top: 14px; color: #b00020; font-weight: bold; }
.gm-ok { margin-top: 12px; color: #155724; font-weight: bold; }
.gm-box { background: #fef9e7; border-left: 4px solid #b8860b; padding: 14px 16px; border-radius: 8px; margin-top: 16px; line-height: 1.6; }
.gm-linkbox { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.gm-linkbox input { flex: 1 1 260px; padding: 9px; border-radius: 8px; border: 1px solid #ccc; font-size: 15px; }
.gm-share { display: flex; gap: 12px; margin-top: 12px; }
.gm-share a { width: 48px; height: 48px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; text-decoration: none; }

.gm-result { display: none; margin-top: 24px; }
.gm-names { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; text-align: center; font-size: 20px; font-weight: bold; color: #6b3e0a; margin-bottom: 10px; }
.gm-row { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; padding: 4px 0; }
.gm-row .gm-area { text-align: right; padding-right: 12px; font-weight: bold; color: #333; }
.gm-row .gm-koota { text-align: left; padding-left: 12px; color: #777; font-size: 14px; }

.gm-heart { position: relative; display: block; width: 64px; height: 58px; margin: 0 auto; }
.gm-heart i { font-size: 60px; line-height: 58px; display: block; text-align: center; }
.gm-heart > span { position: absolute; left: 0; right: 0; top: 0; line-height: 54px; text-align: center; color: #fff; font-weight: bold; font-size: 15px; font-family: Arial, sans-serif; }
.gm-heart.strong { color: #d6283b; }
.gm-heart.partial { color: #ff5fa8; }
.gm-heart.none { color: #5b8def; }
.gm-heart.big { width: 110px; height: 100px; }
.gm-heart.big i { font-size: 104px; line-height: 100px; }
.gm-heart.big > span { line-height: 92px; font-size: 22px; }

.gm-total { text-align: center; margin: 18px 0 6px; }
.gm-verdict { text-align: center; font-size: 22px; font-weight: bold; color: #a0522d; }
.gm-mars { text-align: center; margin-top: 6px; color: #555; font-weight: bold; }
.gm-mars-explain { text-align: center; color: #555; max-width: 620px; margin: 6px auto 0; line-height: 1.6; }
.gm-summary { background: #fef9e7; border-left: 4px solid #b8860b; padding: 14px 16px; border-radius: 8px; margin-top: 18px; line-height: 1.6; }
.gm-detail { margin-top: 18px; }
.gm-detail > div { padding: 10px 0; border-top: 1px solid #f0e2c0; line-height: 1.6; }

.gm-locked { position: relative; min-height: 170px; margin-top: 16px; }
.gm-locked-decoy { filter: blur(5px); opacity: 0.5; user-select: none; pointer-events: none; line-height: 1.6; }
.gm-locked-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10px; }
.gm-locked-overlay p { font-weight: bold; color: #6b3e0a; margin: 0 0 4px; }

.gm-link-card { border: 1px solid #e8d5a8; border-radius: 12px; padding: 14px 16px; margin-top: 14px; background: #fff; }
.gm-link-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.gm-chip { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: bold; }
.gm-chip.open { background: #d9f2df; color: #155724; }
.gm-chip.closed, .gm-chip.expired { background: #eee; color: #555; }
.gm-check { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f0e2c0; cursor: pointer; }
.gm-check:hover { background: #fffaf0; }
.gm-check-reading { padding: 10px 0 16px; }

.gm-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.gm-table th { background: #b8860b; color: #fff; text-align: left; padding: 8px 10px; }
.gm-table td { border-bottom: 1px solid #f0e2c0; padding: 8px 10px; vertical-align: top; }
.gm-guide { line-height: 1.75; color: #333; }
.gm-guide h3 { color: #a0522d; margin-top: 24px; border-bottom: 2px solid #f0d9a0; padding-bottom: 6px; }

@media (max-width: 700px) {
    .gm-row .gm-area { font-size: 14px; }
    .gm-row .gm-koota { font-size: 12px; }
}

/* Google and Facebook sign-in buttons, copied from login.php */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations'),
         url('/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}
.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%;
    max-width: 400px;
    margin: 0.8rem auto 0;
}
.gsi-material-button .gsi-material-button-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
}
.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}
.gsi-material-button .gsi-material-button-contents {
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
.gm-social {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.gm-social form {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
.fb-signin-button {
    -webkit-appearance: none;
    background-color: #1877F2;
    border: 1px solid #1877F2;
    border-radius: 20px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    padding: 0 12px;
    text-align: center;
    transition: background-color .218s, box-shadow .218s;
    white-space: nowrap;
    width: 100%;
    max-width: 400px;
    margin: 0.8rem auto 0;
    display: block;
}
.fb-signin-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.fb-signin-button:not(:disabled):hover {
    background-color: #166fe5;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.gsi-material-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.gsi-material-button:not(:disabled):hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.gm-social { max-width: 420px; margin: 4px 0 6px; }
