/* Love Animals 8 - LINE Authentication UI CSS */

/* 制限された画像のぼかし効果 */
.la8-restricted {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.5s ease;
}

.la8-unlocked {
    filter: none !important;
    animation: la8-fadeIn 0.5s ease;
}

@keyframes la8-fadeIn {
    from {
        opacity: 0;
        filter: blur(20px);
    }
    to {
        opacity: 1;
        filter: none;
    }
}

/* ぼかし画像のラッパー */
.la8-restricted-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.la8-restricted-wrapper img {
    display: block;
    width: 95%;
    max-width: 500px;
}

/* 認証オーバーレイ - ぼかしの上に表示 */
.la8-auth-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 80%;
    max-width: 300px;
    transition: opacity 0.3s ease;
}

.la8-auth-box {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #A67C52;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.la8-auth-icon {
    font-size: 32px;
    margin-bottom: 10px;
    animation: la8-bounce 2s infinite;
}

@keyframes la8-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.la8-auth-title {
    font-size: 16px;
    font-weight: bold;
    color: #4E3A3D;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.la8-auth-desc {
    font-size: 12px;
    color: #5C5C5D;
    margin-bottom: 12px;
    line-height: 1.5;
}

.la8-auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

#la8-password-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #A67C52;
    border-radius: 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: #fff;
}

#la8-password-input:focus {
    outline: none;
    border-color: #4E3A3D;
    box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
}

#la8-verify-btn {
    background-color: #A67C52;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#la8-verify-btn:hover:not(:disabled) {
    background-color: #8C5E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#la8-verify-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.la8-auth-message {
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
    display: none;
}

.la8-auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.la8-auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.la8-line-register {
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.2s ease;
}

.la8-line-register:hover {
    transform: scale(1.05);
}

.la8-line-register img {
    vertical-align: middle;
    opacity: 1 !important;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .la8-auth-box {
        padding: 30px 15px;
    }

    .la8-auth-title {
        font-size: 19px;
    }

    .la8-auth-desc {
        font-size: 14px;
    }

    #la8-password-input {
        font-size: 15px;
        padding: 12px 14px;
    }

    #la8-verify-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
}
