/* Giftpop member auth (login/register) - new UI */
.gp-auth-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 44px 20px 64px;
    background: #faf7f5;
}
.gp-auth-inner {
    width: 100%;
    max-width: 420px;
}
.gp-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
}
.gp-auth-brand img {
    max-height: 30px;
}
.gp-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(44, 35, 33, .05), 0 16px 36px -20px rgba(245, 63, 37, .22);
    overflow: hidden;
}
.gp-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f7f2ef;
}
.gp-auth-tabs a {
    display: block;
    height: 46px;
    line-height: 46px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .2s;
    background: #f7f2ef;
    color: #8b7f7b;
    text-decoration: none;
}
.gp-auth-tabs a.active {
    background: linear-gradient(135deg, #ff5d15, #f53f25);
    color: #fff;
}
.gp-auth-body {
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.gp-auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gp-auth-field label {
    font-size: 12px;
    font-weight: 500;
    color: #7a6e6a;
}
.gp-auth-field label .req {
    color: #f53f25;
}
.gp-auth-field input[type="text"],
.gp-auth-field input[type="email"],
.gp-auth-field input[type="password"],
.gp-auth-field input[type="date"] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e7dfdb;
    border-radius: 9px;
    font-size: 13.5px;
    color: #2c2321;
    outline: none;
    background: #fffdfc;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.gp-auth-field input:focus {
    border-color: #f53f25;
    box-shadow: 0 0 0 3px rgba(245, 63, 37, .1);
}
.gp-auth-field select,
.mypageBtn-set .brand .gp-select,
.gp-select {
    height: 40px;
    padding: 0 30px 0 12px;
    border: 1px solid #e7dfdb;
    border-radius: 9px;
    font-size: 13.5px;
    color: #2c2321;
    outline: none;
    background: #fffdfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238b7f7b' stroke-width='1.5' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.gp-auth-field select:focus,
.gp-select:focus {
    border-color: #f53f25;
    box-shadow: 0 0 0 3px rgba(245, 63, 37, .1);
}
.gp-auth-field input.gp-error {
    border-color: #e11d48;
}
.gp-auth-field label.error,
label.error {
    font-size: 11.5px;
    color: #e11d48;
    font-weight: 500;
}
.gp-id-row {
    display: flex;
    gap: 8px;
}
.gp-id-row input {
    flex: 1;
}
.gp-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #7a6e6a;
    cursor: pointer;
}
.gp-checkbox-label input {
    width: 14px;
    height: 14px;
    accent-color: #f53f25;
    margin: 0;
}
.gp-auth-link {
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    color: #f53f25;
}
.gp-submit-btn {
    height: 42px;
    margin-top: 3px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #ff5d15, #f53f25);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 6px 14px -7px rgba(245, 63, 37, .7);
    width: 100%;
}
.gp-submit-btn:hover {
    filter: brightness(1.06);
}
.gp-submit-btn.is-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
    filter: brightness(.95);
}
.gp-submit-btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gp-btn-spin .7s linear infinite;
}
@keyframes gp-btn-spin {
    to { transform: rotate(360deg); }
}
.gp-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c9c0bc;
    font-size: 11px;
}
.gp-divider .line {
    flex: 1;
    height: 1px;
    background: #eee6e2;
}
.gp-google-btn {
    height: 40px;
    border: 1px solid #e7dfdb;
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #4a403d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.gp-google-btn:hover {
    border-color: #ff5d15;
}
.gp-google-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.gp-switch-text {
    margin: 0;
    text-align: center;
    font-size: 12.5px;
    color: #8b7f7b;
}
.gp-switch-text a {
    font-weight: 600;
    text-decoration: none;
    color: #f53f25;
}
.gp-pw-bar-track {
    height: 4px;
    border-radius: 99px;
    background: #f0eae7;
    overflow: hidden;
    margin-top: 2px;
}
.gp-pw-bar-fill {
    height: 100%;
    width: 0%;
    background: transparent;
    border-radius: 99px;
    transition: width .28s ease, background .28s ease;
}
.gp-pw-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.gp-pw-hint {
    font-size: 11.5px;
    line-height: 1.4;
    color: #9a8f8b;
}
.gp-pw-label {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    color: transparent;
}
.gp-gender-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.gp-gender-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    border: 1px solid #e7dfdb;
    border-radius: 9px;
    font-size: 13px;
    color: #4a403d;
    cursor: pointer;
    background: #fffdfc;
}
.gp-gender-option input {
    width: 14px;
    height: 14px;
    accent-color: #f53f25;
    margin: 0;
}
.gp-form-grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
}
.gp-agree-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}
.gp-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #4a403d;
    cursor: pointer;
}
.gp-agree-label input {
    width: 14px;
    height: 14px;
    accent-color: #f53f25;
    margin: 1px 0 0;
}
.gp-auth-inner--wide {
    max-width: 640px;
}
.gp-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.gp-inline-btn {
    height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    background: #f53f25;
    border: 0;
}
.gp-inline-btn:hover {
    border-color: #ff5d15;
}
.gp-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}
@media (max-width: 480px) {
    .gp-form-grid-3 {
        grid-template-columns: 1fr;
    }
}
